RESTinio
|
Parsing result context for using in parser callbacks. More...
#include <connection.hpp>
Public Member Functions | |
void | reset () |
Prepare context to handle new request. More... | |
Public Attributes | |
bool | m_message_complete { false } |
Flag: is http message parsed completely. More... | |
http_request_header_t | m_header |
Request data. More... | |
std::string | m_body |
std::string | m_current_field_name |
Parser context temp values and flags. More... | |
bool | m_last_was_value { true } |
Parsing result context for using in parser callbacks.
All data is used as temps, and is usable only after parsing completes new requests then it is moved out.
Definition at line 46 of file connection.hpp.
|
inline |
Prepare context to handle new request.
Definition at line 65 of file connection.hpp.
std::string restinio::impl::http_parser_ctx_t::m_body |
Definition at line 51 of file connection.hpp.
std::string restinio::impl::http_parser_ctx_t::m_current_field_name |
Parser context temp values and flags.
Definition at line 56 of file connection.hpp.
http_request_header_t restinio::impl::http_parser_ctx_t::m_header |
Request data.
Definition at line 50 of file connection.hpp.
bool restinio::impl::http_parser_ctx_t::m_last_was_value { true } |
Definition at line 57 of file connection.hpp.
bool restinio::impl::http_parser_ctx_t::m_message_complete { false } |
Flag: is http message parsed completely.
Definition at line 61 of file connection.hpp.