|
|
| Connection (asio::io_context &ctx, const bool ssl=true, std::shared_ptr< dht::Logger > l={}) |
| |
|
| Connection (asio::io_context &ctx, std::shared_ptr< dht::crypto::Certificate > server_ca, const dht::crypto::Identity &identity, std::shared_ptr< dht::Logger > l={}) |
| |
|
unsigned int | id () const |
| |
|
bool | is_open () const |
| |
|
bool | is_ssl () const |
| |
|
void | checkOcsp (bool check=true) |
| |
|
void | set_ssl_verification (const std::string &hostname, const asio::ssl::verify_mode verify_mode) |
| |
|
asio::streambuf & | input () |
| |
|
std::istream & | data () |
| |
|
std::string | read_bytes (size_t bytes=0) |
| |
|
std::string | read_until (const char delim) |
| |
|
void | async_connect (std::vector< asio::ip::tcp::endpoint > &&endpoints, ConnectHandlerCb) |
| |
|
void | async_handshake (HandlerCb cb) |
| |
|
void | async_write (BytesHandlerCb cb) |
| |
|
void | async_read_until (const char *delim, BytesHandlerCb cb) |
| |
|
void | async_read_until (char delim, BytesHandlerCb cb) |
| |
|
void | async_read (size_t bytes, BytesHandlerCb cb) |
| |
|
void | async_read_some (size_t bytes, BytesHandlerCb cb) |
| |
|
void | timeout (const std::chrono::seconds timeout, HandlerCb cb={}) |
| |
|
void | close () |
| |
Definition at line 88 of file http.h.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/opendht-2.4.4/include/opendht/http.h