MySQL 9.1.0
Source Code Documentation
http::client::impl Namespace Reference

Classes

struct  ConfigSchema
 
struct  Connection
 

Typedefs

using TlsHandshakeCallback = std::function< void(const std::error_code &ec, const size_t no_of_bytes)>
 
using TlsHandshakeExecute = std::function< void(TlsHandshakeCallback)>
 

Functions

static void headers_add_if_not_present (http::base::Headers *h, const char *key, const char *value)
 
template<typename V >
value_or (V value_users, V value_default)
 
static Client::Endpoint get_endpoint_from (const http::base::Uri &url)
 
static const std::string & get_method_as_string (http::base::method::key_type method)
 
template<typename ConnectionStatusCallback >
impl::Connection create_connection_object (net::io_context &io_context, bool is_tls, TlsClientContext *tls_context, ConnectionStatusCallback *ccs, PayloadCallback *obj, bool use_http2)
 

Typedef Documentation

◆ TlsHandshakeCallback

using http::client::impl::TlsHandshakeCallback = typedef std::function<void(const std::error_code &ec, const size_t no_of_bytes)>

◆ TlsHandshakeExecute

using http::client::impl::TlsHandshakeExecute = typedef std::function<void(TlsHandshakeCallback)>

Function Documentation

◆ create_connection_object()

template<typename ConnectionStatusCallback >
impl::Connection http::client::impl::create_connection_object ( net::io_context io_context,
bool  is_tls,
TlsClientContext tls_context,
ConnectionStatusCallback *  ccs,
PayloadCallback obj,
bool  use_http2 
)

◆ get_endpoint_from()

static Client::Endpoint http::client::impl::get_endpoint_from ( const http::base::Uri url)
static

◆ get_method_as_string()

static const std::string & http::client::impl::get_method_as_string ( http::base::method::key_type  method)
static

◆ headers_add_if_not_present()

static void http::client::impl::headers_add_if_not_present ( http::base::Headers h,
const char *  key,
const char *  value 
)
static

◆ value_or()

template<typename V >
V http::client::impl::value_or ( value_users,
value_default 
)