|
| template<typename Extra_Data_Factory > |
| | generic_request_t (request_id_t request_id, http_request_header_t header, std::string body, impl::connection_handle_t connection, endpoint_t remote_endpoint, Extra_Data_Factory &extra_data_factory) |
| | Old-format initializing constructor.
|
| |
| template<typename Extra_Data_Factory > |
| | generic_request_t (request_id_t request_id, http_request_header_t header, std::string body, chunked_input_info_unique_ptr_t chunked_input_info, impl::connection_handle_t connection, endpoint_t remote_endpoint, Extra_Data_Factory &extra_data_factory) |
| | New-format initializing constructor.
|
| |
| const http_request_header_t & | header () const noexcept |
| | Get request header.
|
| |
| const std::string & | body () const noexcept |
| | Get request body.
|
| |
| template<typename Output = restinio_controlled_output_t> |
| auto | create_response (http_status_line_t status_line=status_ok()) |
| |
| auto | request_id () const noexcept |
| | Get request id.
|
| |
| connection_id_t | connection_id () const noexcept |
| | Get connection id.
|
| |
| const endpoint_t & | remote_endpoint () const noexcept |
| | Get the remote endpoint of the underlying connection.
|
| |
| nullable_pointer_t< const chunked_input_info_t > | chunked_input_info () const noexcept |
| | Get optional info about chunked input.
|
| |
| RESTINIO_NODISCARD Extra_Data & | extra_data () noexcept |
| | Get writeable access to extra-data object incorporated into a request object.
|
| |
| RESTINIO_NODISCARD const Extra_Data & | extra_data () const noexcept |
| | Get readonly access to extra-data object incorporated into a request object.
|
| |
HTTP Request data.
Provides acces to header and body, and creates response builder for a given request.
- Template Parameters
-
| Extra_Data | The type of extra-data to be incorporated into a request object. |
Definition at line 199 of file request_handler.hpp.