HTTP Header Key-Value Collection.
More...
#include <Header.h>
HTTP Header Key-Value Collection.
◆ KeyValueType
◆ Ptr
◆ Header() [1/2]
sese::net::http::Header::Header |
( |
| ) |
|
|
explicitdefault |
◆ Header() [2/2]
Header::Header |
( |
const std::initializer_list< KeyValueType > & | initializer_list | ) |
|
|
noexcept |
◆ ~Header()
virtual sese::net::http::Header::~Header |
( |
| ) |
|
|
virtualdefault |
◆ begin()
std::map< std::string, std::string >::iterator sese::net::http::Header::begin |
( |
| ) |
|
|
inlinenoexcept |
◆ clear()
void sese::net::http::Header::clear |
( |
| ) |
|
|
inline |
◆ empty()
bool sese::net::http::Header::empty |
( |
| ) |
const |
|
inlinenodiscard |
◆ end()
std::map< std::string, std::string >::iterator sese::net::http::Header::end |
( |
| ) |
|
|
inlinenoexcept |
◆ exist()
bool sese::net::http::Header::exist |
( |
const std::string & | key | ) |
|
|
inline |
◆ find()
auto sese::net::http::Header::find |
( |
const std::string & | key | ) |
|
|
inlinenoexcept |
◆ get() [1/2]
const std::string & sese::net::http::Header::get |
( |
const std::string & | key | ) |
|
|
inline |
◆ get() [2/2]
const std::string & Header::get |
( |
const std::string & | key, |
|
|
const std::string & | default_value ) |
|
noexcept |
◆ getCookie()
Cookie::Ptr Header::getCookie |
( |
const std::string & | name | ) |
const |
|
nodiscard |
◆ getCookies()
◆ set()
void Header::set |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
|
noexcept |
◆ setCookie()
◆ setCookies()
◆ size()
size_t sese::net::http::Header::size |
( |
| ) |
const |
|
inlinenodiscard |
◆ cookies
◆ headers
StrCaseMap<std::string> sese::net::http::Header::headers |
|
protected |
The documentation for this class was generated from the following files: