MySQL 8.0.40
Source Code Documentation
|
#include <http_client.h>
Public Member Functions | |
HttpClientConnection (IOContext &io_ctx, const std::string &address, uint16_t port) | |
Public Member Functions inherited from HttpClientConnectionBase | |
~HttpClientConnectionBase () | |
void | make_request (HttpRequest *req, HttpMethod::type method, const std::string &uri, std::chrono::seconds timeout=std::chrono::seconds{60}) |
void | make_request_sync (HttpRequest *req, HttpMethod::type method, const std::string &uri, std::chrono::seconds timeout=std::chrono::seconds{ 60}) |
operator bool () const | |
connection has an error. More... | |
std::string | error_msg () const |
error-msg of the connection. More... | |
std::error_code | socket_errno () const |
last socket errno. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from HttpClientConnectionBase | |
HttpClientConnectionBase (IOContext &io_ctx) | |
event_base * | ev_base () const |
event-base associated with this connection. More... | |
Protected Attributes inherited from HttpClientConnectionBase | |
std::unique_ptr< impl > | pImpl_ |
IOContext & | io_ctx_ |
std::error_code | socket_errno_ |
HttpClientConnection::HttpClientConnection | ( | IOContext & | io_ctx, |
const std::string & | address, | ||
uint16_t | port | ||
) |