Molybden API
Loading...
Searching...
No Matches
http_header.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_HTTP_HEADER_HPP
6#define MOLYBDEN_HTTP_HEADER_HPP
7
8#include <string>
9#include <utility>
10
11namespace molybden {
12
16struct HttpHeader {
17 explicit HttpHeader(std::string name, std::string value = "");
18
22 const std::string name;
23
27 const std::string value;
28};
29} // namespace molybden
30
31#endif // MOLYBDEN_HTTP_HEADER_HPP
An HTTP header name and value.
Definition http_header.hpp:16
const std::string name
The HTTP header name.
Definition http_header.hpp:22
const std::string value
The HTTP header value.
Definition http_header.hpp:27