#include <dht_proxy_server.h>
Describes the REST API
Definition at line 77 of file dht_proxy_server.h.
◆ DhtProxyServer()
Start the Http server for OpenDHT
- Parameters
-
dht | the DhtRunner linked to this proxy server |
port | to listen |
pushServer | where to push notifications |
- Note
- if the server fails to start (if port is already used or reserved), it will fails silently
◆ getNode()
std::shared_ptr< DhtRunner > dht::DhtProxyServer::getNode |
( |
| ) |
const |
|
inline |
◆ stats()
std::shared_ptr< ServerStats > dht::DhtProxyServer::stats |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/iurt/rpmbuild/BUILD/opendht-3.2.0-build/opendht-3.2.0/include/opendht/dht_proxy_server.h