85 o <<
"not_final_parts";
105 o <<
"connection_keepalive";
107 o <<
"connection_close";
115 if( should_keep_alive )
138 return o <<
"{ " <<
flags.m_response_parts <<
", "
139 <<
flags.m_response_connection <<
" }";
153template<
typename T >
168template<
typename T >
asio_ns::ip::tcp::endpoint endpoint_t
An alias for endpoint type from Asio.
unsigned int request_id_t
Request id in scope of single connection.
run_on_this_thread_settings_t< Traits > on_this_thread()
A special marker for the case when http_server must be run on the context of the current thread.
std::ostream & operator<<(std::ostream &o, response_parts_attr_t attr)
T * not_null_pointer_t
Type for pointer that is not null by design.
constexpr request_handling_status_t request_not_handled() noexcept
response_connection_attr_t response_connection_attr(bool should_keep_alive)
T * nullable_pointer_t
Type for pointer that can be nullptr.
constexpr request_handling_status_t request_accepted() noexcept
request_handling_status_t
Request handling status.
@ accepted
Request accepted for handling.
@ not_handled
The request wasn't handled. If there is another handler to be tried it should be tried....
@ rejected
Request wasn't accepted for handling.
constexpr request_handling_status_t request_rejected() noexcept
std::uint64_t connection_id_t
Type for ID of connection.
response_connection_attr_t
Attribute for parts.
@ connection_close
This response says to close connection.
@ connection_keepalive
This response says to keep connection.
response_parts_attr_t
Attribute for parts.
@ final_parts
Final parts (response ands with these parts).
@ not_final_parts
Intermediate parts (more parts of response to follow).
Response output flags for buffers commited to response-coordinator.
response_connection_attr_t m_response_connection
response_parts_attr_t m_response_parts
response_output_flags_t(response_parts_attr_t response_parts, response_connection_attr_t response_connection) noexcept