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
10
namespace
molybden {
11
15
struct
HttpHeader
{
16
explicit
HttpHeader
(std::string
name
, std::string
value
=
""
);
17
21
const
std::string
name
;
22
26
const
std::string
value
;
27
};
28
}
// namespace molybden
29
30
#endif
// MOLYBDEN_HTTP_HEADER_HPP
molybden::HttpHeader
An HTTP header name and value.
Definition
http_header.hpp:15
molybden::HttpHeader::name
const std::string name
The HTTP header name.
Definition
http_header.hpp:21
molybden::HttpHeader::value
const std::string value
The HTTP header value.
Definition
http_header.hpp:26
include
molybden
network
http_header.hpp