Request Header Class.
More...
#include <RequestHeader.h>
Request Header Class.
- Warning
- The uri field is not processed (URL + QueryString)
◆ Ptr
◆ RequestHeader() [1/2]
sese::net::http::RequestHeader::RequestHeader |
( |
| ) |
|
|
default |
◆ RequestHeader() [2/2]
sese::net::http::RequestHeader::RequestHeader |
( |
const std::initializer_list< KeyValueType > & | initializer_list | ) |
|
|
inline |
◆ getQueryArg() [1/2]
const std::string & sese::net::http::RequestHeader::getQueryArg |
( |
const std::string & | key | ) |
|
|
inline |
◆ getQueryArg() [2/2]
const std::string & net::http::RequestHeader::getQueryArg |
( |
const std::string & | key, |
|
|
const std::string & | default_value ) const |
|
nodiscard |
◆ getType()
RequestType sese::net::http::RequestHeader::getType |
( |
| ) |
const |
|
inlinenodiscard |
◆ getUri()
const std::string & sese::net::http::RequestHeader::getUri |
( |
| ) |
const |
|
inlinenodiscard |
◆ getUrl()
std::string net::http::RequestHeader::getUrl |
( |
| ) |
const |
|
nodiscard |
◆ getVersion()
HttpVersion sese::net::http::RequestHeader::getVersion |
( |
| ) |
const |
|
inlinenodiscard |
◆ queryArgsClear()
void sese::net::http::RequestHeader::queryArgsClear |
( |
| ) |
|
|
inline |
◆ queryArgsEmpty()
bool sese::net::http::RequestHeader::queryArgsEmpty |
( |
| ) |
const |
|
inlinenodiscard |
◆ queryArgsExist()
bool sese::net::http::RequestHeader::queryArgsExist |
( |
const std::string & | key | ) |
|
|
inline |
◆ queryArgsSize()
size_t sese::net::http::RequestHeader::queryArgsSize |
( |
| ) |
const |
|
inlinenodiscard |
◆ setQueryArg()
void net::http::RequestHeader::setQueryArg |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
◆ setType()
void sese::net::http::RequestHeader::setType |
( |
RequestType | request_type | ) |
|
|
inline |
◆ setUri()
void sese::net::http::RequestHeader::setUri |
( |
const std::string & | uri | ) |
|
|
inline |
◆ setUrl()
void net::http::RequestHeader::setUrl |
( |
const std::string & | request_url | ) |
|
◆ setVersion()
void sese::net::http::RequestHeader::setVersion |
( |
HttpVersion | new_version | ) |
|
|
inline |
◆ query_args
std::map<std::string, std::string> sese::net::http::RequestHeader::query_args |
|
protected |
◆ type
◆ uri
std::string sese::net::http::RequestHeader::uri = "/" |
|
protected |
◆ version
The documentation for this class was generated from the following files: