MySQL 9.1.0
Source Code Documentation
|
Namespaces | |
namespace | anonymous_namespace{error_code.cc} |
Classes | |
class | BufferSequence |
class | CnoInterface |
class | Sequence |
Functions | |
HTTP_COMMON_EXPORT void | callback_init (cno_connection_t *cno, CnoInterface *) |
template<typename T > | |
std::string | to_string (const T &str) |
Convert CNO buffers to strings. More... | |
CnoInterface * | get_cno (void *cb_data) |
int | on_writev (void *cb_data, const struct cno_buffer_t *buffer, size_t count) |
int | on_close (void *cb_data) |
int | on_stream_start (void *cb_data, uint32_t id) |
int | on_stream_end (void *cb_data, uint32_t id, uint32_t, enum CNO_PEER_KIND) |
int | on_flow_increase (void *, uint32_t) |
int | on_message_head (void *cb_data, uint32_t id, const struct cno_message_t *msg) |
int | on_message_push (void *, uint32_t, const struct cno_message_t *, uint32_t) |
int | on_message_data (void *cb_data, uint32_t id, const char *data, size_t size) |
int | on_message_tail (void *cb_data, uint32_t id, const struct cno_tail_t *tail) |
int | on_frame (void *, const struct cno_frame_t *) |
int | on_frame_send (void *, const struct cno_frame_t *) |
int | on_pong (void *, const char[8]) |
int | on_settings (void *cb_data) |
int | on_upgrade (void *, uint32_t) |
Variables | |
cno_vtable_t | g_cno_vtable |
void http::cno::callback_init | ( | cno_connection_t * | cno, |
CnoInterface * | icno | ||
) |
CnoInterface * http::cno::get_cno | ( | void * | cb_data | ) |
int http::cno::on_close | ( | void * | cb_data | ) |
int http::cno::on_flow_increase | ( | void * | , |
uint32_t | |||
) |
int http::cno::on_frame | ( | void * | , |
const struct cno_frame_t * | |||
) |
int http::cno::on_frame_send | ( | void * | , |
const struct cno_frame_t * | |||
) |
int http::cno::on_message_data | ( | void * | cb_data, |
uint32_t | id, | ||
const char * | data, | ||
size_t | size | ||
) |
int http::cno::on_message_head | ( | void * | cb_data, |
uint32_t | id, | ||
const struct cno_message_t * | msg | ||
) |
int http::cno::on_message_push | ( | void * | , |
uint32_t | , | ||
const struct cno_message_t * | , | ||
uint32_t | |||
) |
int http::cno::on_message_tail | ( | void * | cb_data, |
uint32_t | id, | ||
const struct cno_tail_t * | tail | ||
) |
int http::cno::on_pong | ( | void * | , |
const char | [8] | ||
) |
int http::cno::on_settings | ( | void * | cb_data | ) |
int http::cno::on_stream_end | ( | void * | cb_data, |
uint32_t | id, | ||
uint32_t | , | ||
enum | CNO_PEER_KIND | ||
) |
int http::cno::on_stream_start | ( | void * | cb_data, |
uint32_t | id | ||
) |
int http::cno::on_upgrade | ( | void * | , |
uint32_t | |||
) |
int http::cno::on_writev | ( | void * | cb_data, |
const struct cno_buffer_t * | buffer, | ||
size_t | count | ||
) |
std::string http::cno::to_string | ( | const T & | str | ) |
Convert CNO buffers to strings.
This function handles: cno_buffer_t, cno_buffer_dyn_t. If other CNO types are needed the function should be overloaded/specialized.
cno_vtable_t http::cno::g_cno_vtable |