MySQL 8.4.1
Source Code Documentation
client.cc File Reference
#include <utility>
#include "http/base/uri.h"
#include "http/client/client.h"
#include "http/client/connection.h"
#include "http/client/error_code.h"
#include "http/client/payload_callback.h"
#include "router_config.h"
#include "tls/tls_stream.h"
#include "tls/trace_stream.h"

Classes

struct  http::client::impl::ConfigSchema
 
struct  http::client::impl::Connection
 
class  http::client::Client::CallbacksPrivateImpl
 

Namespaces

namespace  http
 
namespace  http::client
 
namespace  http::client::impl
 

Typedefs

using http::client::Socket = net::ip::tcp::socket
 
using http::client::TlsSocket = net::tls::TlsStream< net::ip::tcp::socket >
 
using http::client::ConnectionTls = http::client::Connection< TlsSocket >
 
using http::client::ConnectionRaw = http::client::Connection< Socket >
 

Functions

static void http::client::impl::headers_add_if_not_present (http::base::Headers *h, const char *key, const char *value)
 
template<typename V >
http::client::impl::value_or (V value_users, V value_default)
 
static Client::Endpoint http::client::impl::get_endpoint_from (const http::base::Uri &url)
 
static const std::string & http::client::impl::get_method_as_string (http::base::method::key_type method)
 
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)