RESTinio
Loading...
Searching...
No Matches
Classes | Functions
restinio::async_chain::impl Namespace Reference

Classes

struct  on_next_result_visitor_t
 Helper type to be used as handler of variant values in std::visit. More...
 

Functions

template<typename Request_Handle >
void make_not_implemented_response (const Request_Handle &req)
 Helper to make a negative response with "Not Implemented" status.
 
template<typename Request_Handle >
void make_internal_server_error_response (const Request_Handle &req)
 Helper to make a negative response with "Internal Server Error" status.
 

Function Documentation

◆ make_internal_server_error_response()

void restinio::async_chain::impl::make_internal_server_error_response ( const Request_Handle & req)

Helper to make a negative response with "Internal Server Error" status.

This helper will be used if the current scheduler returns schedule_result_t::failure.

Template Parameters
Request_HandleType of request handle that holds the source request.
Since
v.0.7.0

Definition at line 237 of file common.hpp.

◆ make_not_implemented_response()

void restinio::async_chain::impl::make_not_implemented_response ( const Request_Handle & req)

Helper to make a negative response with "Not Implemented" status.

This helper will be used if there is no more schedulers to call, but the request is still not handled.

Template Parameters
Request_HandleType of request handle that holds the source request.
Since
v.0.7.0

Definition at line 220 of file common.hpp.