My Project 3.2.0
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< log::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 77 of file dht_proxy_server.h.
dht::DhtProxyServer::DhtProxyServer | ( | const std::shared_ptr< DhtRunner > & | dht, |
const ProxyServerConfig & | config = {}, | ||
const std::shared_ptr< log::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 150 of file dht_proxy_server.h.
|
inline |
Definition at line 146 of file dht_proxy_server.h.