|
using | OnDisconnectHook = std::function<void(Connection const&)> |
|
using | TargetToHandlerMap = std::unordered_map<std::string, MessageHandler, StringHash, std::equal_to<>> |
|
|
| ConnectionHandler (ProcessingPolicy processingPolicy, std::optional< size_t > maxParallelRequests, util::TagDecoratorFactory &tagFactory, std::optional< size_t > maxSubscriptionSendQueueSize, OnDisconnectHook onDisconnectHook) |
|
void | onGet (std::string const &target, MessageHandler handler) |
|
void | onPost (std::string const &target, MessageHandler handler) |
|
void | onWs (MessageHandler handler) |
|
void | processConnection (ConnectionPtr connection, boost::asio::yield_context yield) |
|
void | stop (boost::asio::yield_context yield) |
|
bool | isStopping () const |
|
|
static void | stopConnection (Connection &connection, boost::asio::yield_context yield) |
|
|
static constexpr std::chrono::milliseconds | kCLOSE_CONNECTION_TIMEOUT {500} |
|
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/web/ng/impl/ConnectionHandler.hpp
- /__w/clio/clio/src/web/ng/impl/ConnectionHandler.cpp