|
Clio
develop
The XRP Ledger API server.
|
A function object to be called when a connection is disconnected. More...
#include <WebHandlers.hpp>
Public Member Functions | |
| DisconnectHook (web::dosguard::DOSGuardInterface &dosguard) | |
| Construct a new DisconnectHook object. | |
| void | operator() (web::ng::Connection const &connection) |
| The call of the function object. | |
A function object to be called when a connection is disconnected.
| app::DisconnectHook::DisconnectHook | ( | web::dosguard::DOSGuardInterface & | dosguard | ) |
Construct a new DisconnectHook object.
| dosguard | The DOSGuardInterface to use for disconnecting the connection. |
| void app::DisconnectHook::operator() | ( | web::ng::Connection const & | connection | ) |
The call of the function object.
| connection | The connection which has disconnected. |