|
My Project 2.4.4
C++ Distributed Hash Table
|
#include <dht_proxy_server.h>
Classes | |
| struct | ServerStats |
Public Member Functions | |
| DhtProxyServer (const std::shared_ptr< DhtRunner > &dht, const ProxyServerConfig &config={}, const std::shared_ptr< dht::Logger > &logger={}) | |
| DhtProxyServer (const DhtProxyServer &other)=delete | |
| DhtProxyServer (DhtProxyServer &&other)=delete | |
| DhtProxyServer & | operator= (const DhtProxyServer &other)=delete |
| DhtProxyServer & | operator= (DhtProxyServer &&other)=delete |
| asio::io_context & | io_context () const |
| std::shared_ptr< ServerStats > | stats () const |
| std::shared_ptr< ServerStats > | updateStats (std::shared_ptr< NodeInfo > info) const |
| std::shared_ptr< DhtRunner > | getNode () const |
Describes the REST API
Definition at line 74 of file dht_proxy_server.h.
| dht::DhtProxyServer::DhtProxyServer | ( | const std::shared_ptr< DhtRunner > & | dht, |
| const ProxyServerConfig & | config = {}, |
||
| const std::shared_ptr< dht::Logger > & | logger = {} |
||
| ) |
Start the Http server for OpenDHT
| dht | the DhtRunner linked to this proxy server |
| port | to listen |
| pushServer | where to push notifications |
|
inline |
Definition at line 147 of file dht_proxy_server.h.
|
inline |
Definition at line 143 of file dht_proxy_server.h.