RESTinio
|
HTTP Request data. More...
#include <request_handler.hpp>
Private Member Functions | |
void | check_connection () |
Private Attributes | |
const request_id_t | m_request_id |
const http_request_header_t | m_header |
const std::string | m_body |
const chunked_input_info_unique_ptr_t | m_chunked_input_info |
Optional description for chunked-encoding. More... | |
impl::connection_handle_t | m_connection |
const connection_id_t | m_connection_id |
const endpoint_t | m_remote_endpoint |
Remote endpoint for underlying connection. More... | |
Friends | |
impl::connection_handle_t & | impl::access_req_connection (request_t &) noexcept |
HTTP Request data.
Provides acces to header and body, and creates response builder for a given request.
Definition at line 42 of file request_handler.hpp.
|
inline |
Old-format initializing constructor.
Can be used in cases where chunked_input_info_t is not available (or needed).
Definition at line 54 of file request_handler.hpp.
|
inline |
New-format initializing constructor.
Definition at line 74 of file request_handler.hpp.
|
inlinenoexcept |
Get request body.
Definition at line 99 of file request_handler.hpp.
|
inlineprivate |
Definition at line 142 of file request_handler.hpp.
|
inlinenoexcept |
Get optional info about chunked input.
Definition at line 135 of file request_handler.hpp.
|
inlinenoexcept |
Get connection id.
Definition at line 121 of file request_handler.hpp.
|
inline |
Definition at line 106 of file request_handler.hpp.
|
inlinenoexcept |
Get request header.
Definition at line 92 of file request_handler.hpp.
|
inlinenoexcept |
Get the remote endpoint of the underlying connection.
Definition at line 124 of file request_handler.hpp.
|
inlinenoexcept |
Get request id.
Definition at line 118 of file request_handler.hpp.
|
friend |
|
private |
Definition at line 152 of file request_handler.hpp.
|
private |
Optional description for chunked-encoding.
It is present only if chunked-encoded body is found in the incoming request.
Definition at line 161 of file request_handler.hpp.
|
private |
Definition at line 163 of file request_handler.hpp.
|
private |
Definition at line 164 of file request_handler.hpp.
|
private |
Definition at line 151 of file request_handler.hpp.
|
private |
Remote endpoint for underlying connection.
Definition at line 167 of file request_handler.hpp.
|
private |
Definition at line 150 of file request_handler.hpp.