|
|
using | RequestType = ::boost::beast::http::request<::boost::beast::http::string_body > |
| |
|
using | SendFunction = ListenerBase::SendFunction |
| |
Public Types inherited from util::ConnectionHandler |
|
using | ptr_t = ::boost::intrusive_ptr< ConnectionHandler > |
| |
|
using | io_context = ::boost::asio::io_context |
| |
|
using | member_hook_t = detail::member_hook< ConnectionHandler, detail::connection_hook, &ConnectionHandler::hook_ > |
| |
|
using | flush_hook_t = detail::member_hook< ConnectionHandler, detail::connection_hook, &ConnectionHandler::flush_hook_ > |
| |
|
|
| HttpHandler (const ListenerBase *registry, IoContext *cntx) |
| |
|
boost::system::error_code | HandleRequest () final override |
| |
Public Member Functions inherited from util::ConnectionHandler |
|
| ConnectionHandler (IoContext *context) noexcept |
| |
|
void | Init (::boost::asio::ip::tcp::socket &&sock) |
| |
|
void | Close () |
| |
|
IoContext & | context () |
| |
|
|
virtual bool | Authorize (const QueryArgs &args) const |
| |
Protected Member Functions inherited from util::ConnectionHandler |
|
virtual bool | FlushWrites () |
| | Called to flush pending writes to the socket. Returns true if flush took place,.
|
| |
|
virtual void | OnOpenSocket () |
| | Called once after connection was initialized. Will run in io context thread of this handler.
|
| |
| virtual void | OnCloseSocket () |
| | Called before ConnectionHandler destroyed but after the socket was signalled to stop and shutdown. More...
|
| |
Definition at line 68 of file http_conn_handler.h.
The documentation for this class was generated from the following files: