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
11
namespace
molybden {
12
16
struct
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
molybden::HttpHeader
An HTTP header name and value.
Definition
http_header.hpp:16
molybden::HttpHeader::name
const std::string name
The HTTP header name.
Definition
http_header.hpp:22
molybden::HttpHeader::value
const std::string value
The HTTP header value.
Definition
http_header.hpp:27
include
molybden
network
http_header.hpp