|
RESTinio
|
Common stuff for different types of async handlers chains. More...
#include <restinio/request_handler.hpp>Go to the source code of this file.
Classes | |
| class | restinio::async_chain::async_handling_controller_t< Extra_Data_Factory > |
| Interface of a controller of an async chan. More... | |
| struct | restinio::async_chain::no_more_schedulers_t |
| Special type to be used as an indicator that there are no more schedulers in an async chain. More... | |
| class | restinio::async_chain::async_handling_controller_t< Extra_Data_Factory > |
| Interface of a controller of an async chan. More... | |
| struct | restinio::async_chain::impl::on_next_result_visitor_t< Extra_Data_Factory > |
| Helper type to be used as handler of variant values in std::visit. More... | |
Namespaces | |
| restinio::async_chain | |
| restinio::async_chain::impl | |
Typedefs | |
| template<typename Extra_Data_Factory = no_extra_data_factory_t> | |
| using | restinio::async_chain::unique_async_handling_controller_t = std::unique_ptr< async_handling_controller_t< Extra_Data_Factory > > |
| Short alias for unique_ptr to async_handling_controller. More... | |
| template<typename Extra_Data_Factory = no_extra_data_factory_t> | |
| using | restinio::async_chain::generic_async_request_scheduler_t = std::function< schedule_result_t(unique_async_handling_controller_t< Extra_Data_Factory >) > |
| Short alias for a type of a scheduler to be used in async chains. More... | |
| template<typename Extra_Data_Factory = no_extra_data_factory_t> | |
| using | restinio::async_chain::on_next_result_t = std::variant< generic_async_request_scheduler_t< Extra_Data_Factory >, no_more_schedulers_t > |
| Special type to be used as result of async_handling_controller's on_next method. More... | |
Enumerations | |
| enum | restinio::async_chain::schedule_result_t { restinio::async_chain::schedule_result_t::ok, restinio::async_chain::schedule_result_t::failure } |
| Type for return value of a scheduler in a chain. More... | |
Functions | |
| constexpr schedule_result_t | restinio::async_chain::ok () noexcept |
| Helper function to be used if scheduling was successful. More... | |
| constexpr schedule_result_t | restinio::async_chain::failure () noexcept |
| Helper function to be used if scheduling failed. More... | |
| template<typename Extra_Data_Factory > | |
| void | restinio::async_chain::next (unique_async_handling_controller_t< Extra_Data_Factory > controller) |
| Command to try to switch to the next handler in an async chain. More... | |
| template<typename Request_Handle > | |
| void | restinio::async_chain::impl::make_not_implemented_response (const Request_Handle &req) |
| Helper to make a negative response with "Not Implemented" status. More... | |
| template<typename Request_Handle > | |
| 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. More... | |
Common stuff for different types of async handlers chains.
Definition in file common.hpp.
1.8.14