MySQL 8.0.37
Source Code Documentation
HttpClientConnection Class Reference

#include <http_client.h>

Inheritance diagram for HttpClientConnection:
[legend]

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< implpImpl_
 
IOContextio_ctx_
 
std::error_code socket_errno_
 

Constructor & Destructor Documentation

◆ HttpClientConnection()

HttpClientConnection::HttpClientConnection ( IOContext io_ctx,
const std::string &  address,
uint16_t  port 
)

The documentation for this class was generated from the following files: