MySQL 9.4.0
Source Code Documentation
http::client::TraceCallbacks< Callbacks > Class Template Reference
Inheritance diagram for http::client::TraceCallbacks< Callbacks >:
[legend]

Public Member Functions

template<typename... Args>
 TraceCallbacks (Args &&...args)
 
void on_connection_ready () override
 
void on_input_payload (const char *data, size_t size) override
 
void on_input_begin (int status_code, const std::string &status_text) override
 
void on_input_end () override
 
void on_input_header (std::string &&key, std::string &&value) override
 
void on_output_end_payload () override
 
void on_connection_close (ConnectionTls::Parent *connection) override
 
void on_connection_io_error (ConnectionTls::Parent *connection, const std::error_code &ec) override
 
void on_connection_close (ConnectionRaw::Parent *connection) override
 
void on_connection_io_error (ConnectionRaw::Parent *connection, const std::error_code &ec) override
 
void print_single ()
 
template<typename Arg , typename... Args>
void print_single (const Arg &arg, const Args... args)
 
template<typename... Args>
void print (const Args &...args)
 

Public Attributes

std::ostream * out_
 

Constructor & Destructor Documentation

◆ TraceCallbacks()

template<typename Callbacks >
template<typename... Args>
http::client::TraceCallbacks< Callbacks >::TraceCallbacks ( Args &&...  args)
inline

Member Function Documentation

◆ on_connection_close() [1/2]

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_connection_close ( ConnectionRaw::Parent connection)
inlineoverride

◆ on_connection_close() [2/2]

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_connection_close ( ConnectionTls::Parent connection)
inlineoverride

◆ on_connection_io_error() [1/2]

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_connection_io_error ( ConnectionRaw::Parent connection,
const std::error_code &  ec 
)
inlineoverride

◆ on_connection_io_error() [2/2]

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_connection_io_error ( ConnectionTls::Parent connection,
const std::error_code &  ec 
)
inlineoverride

◆ on_connection_ready()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_connection_ready ( )
inlineoverride

◆ on_input_begin()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_input_begin ( int  status_code,
const std::string &  status_text 
)
inlineoverride

◆ on_input_end()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_input_end ( )
inlineoverride

◆ on_input_header()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_input_header ( std::string &&  key,
std::string &&  value 
)
inlineoverride

◆ on_input_payload()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_input_payload ( const char *  data,
size_t  size 
)
inlineoverride

◆ on_output_end_payload()

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::on_output_end_payload ( )
inlineoverride

◆ print()

template<typename Callbacks >
template<typename... Args>
void http::client::TraceCallbacks< Callbacks >::print ( const Args &...  args)
inline

◆ print_single() [1/2]

template<typename Callbacks >
void http::client::TraceCallbacks< Callbacks >::print_single ( )
inline

◆ print_single() [2/2]

template<typename Callbacks >
template<typename Arg , typename... Args>
void http::client::TraceCallbacks< Callbacks >::print_single ( const Arg &  arg,
const Args...  args 
)
inline

Member Data Documentation

◆ out_

template<typename Callbacks >
std::ostream* http::client::TraceCallbacks< Callbacks >::out_

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