Req header.
More...
#include <http_headers.hpp>
|
| The result of handling yet another field value. More...
|
Req header.
Definition at line 1857 of file http_headers.hpp.
◆ http_request_header_t() [1/2]
restinio::http_request_header_t::http_request_header_t |
( |
| ) |
|
|
default |
◆ http_request_header_t() [2/2]
restinio::http_request_header_t::http_request_header_t |
( |
http_method_id_t |
method, |
|
|
std::string |
request_target_ |
|
) |
| |
|
inline |
◆ append_request_target()
◆ fragment()
string_view_t restinio::http_request_header_t::fragment |
( |
| ) |
const |
|
inline |
Get the fragment part of the request URL.
If request target is /sobjectizerteam/json_dto-0.2#markdown-header-what-is-json_dto
, then function returns string view on 'markdown-header-what-is-json_dto' part.
Definition at line 1941 of file http_headers.hpp.
◆ memchr_helper()
static std::size_t restinio::http_request_header_t::memchr_helper |
( |
int |
chr, |
|
|
const char * |
from, |
|
|
std::size_t |
size |
|
) |
| |
|
inlinestatic |
◆ method() [1/2]
◆ method() [2/2]
◆ path()
Request URL-structure.
Get the path part of the request URL.
If request target is /weather/temperature?from=2012-01-01&to=2012-01-10
, then function returns string view on '/weather/temperature' part.
Definition at line 1913 of file http_headers.hpp.
◆ query()
Get the query part of the request URL.
If request target is /weather/temperature?from=2012-01-01&to=2012-01-10
, then function returns string view on 'from=2012-01-01&to=2012-01-10' part.
Definition at line 1924 of file http_headers.hpp.
◆ request_target() [1/2]
const std::string & restinio::http_request_header_t::request_target |
( |
| ) |
const |
|
inlinenoexcept |
◆ request_target() [2/2]
void restinio::http_request_header_t::request_target |
( |
std::string |
t | ) |
|
|
inline |
◆ m_fragment_separator_pos
std::size_t restinio::http_request_header_t::m_fragment_separator_pos { 0 } |
|
private |
◆ m_method
◆ m_query_separator_pos
std::size_t restinio::http_request_header_t::m_query_separator_pos { 0 } |
|
private |
◆ m_request_target
std::string restinio::http_request_header_t::m_request_target |
|
private |
The documentation for this struct was generated from the following file: