|
|
struct { | |
| |
|
union { | |
| |
|
struct { | |
| |
|
void(* on_open )(struct mg_connection *conn) | |
| |
void(* on_message )(struct mg_connection *conn,
struct mg_ws_message *ws_msg) | |
| |
| } ws | |
| |
|
struct { | |
| |
void(* on_data )(struct mg_connection *conn,
struct mg_iobuf *data) | |
| |
|
void(* on_poll )(struct mg_connection *conn) | |
| |
| } raw | |
| |
| } | | |
| |
|
void(* on_close )(struct mg_connection *conn) | |
| |
void(* on_wakeup )(struct mg_connection *conn,
void *data, size_t len) | |
| |
|
void * context | |
| |
|
bool is_js | |
| |
| }; | | |
| |
|
uint8_t | data [MG_DATA_SIZE] |
| |
The documentation for this union was generated from the following file: