85 o <<
"not_final_parts";
105 o <<
"connection_keepalive";
107 o <<
"connection_close";
115 if( should_keep_alive )
153template<
typename T >
168template<
typename T >
#define RESTINIO_NODISCARD
RESTINIO_NODISCARD constexpr request_handling_status_t request_not_handled() noexcept
T * nullable_pointer_t
Type for pointer that can be nullptr.
RESTINIO_NODISCARD constexpr request_handling_status_t request_rejected() noexcept
T * not_null_pointer_t
Type for pointer that is not null by design.
std::ostream & operator<<(std::ostream &o, response_parts_attr_t attr)
unsigned int request_id_t
Request id in scope of single connection.
response_connection_attr_t response_connection_attr(bool should_keep_alive)
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.
asio_ns::ip::tcp::endpoint endpoint_t
An alias for endpoint type from Asio.
response_connection_attr_t
Attribute for parts.
@ connection_close
This response says to close connection.
@ connection_keepalive
This response says to keep connection.
RESTINIO_NODISCARD constexpr request_handling_status_t request_accepted() noexcept
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).
std::uint64_t connection_id_t
Type for ID of connection.
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