Go to the source code of this file.
Functions | |
static int | ev_handler (struct mg_connection *conn, enum mg_event ev) |
int | main (void) |
static void | push_message (struct mg_server *server, time_t current_time) |
static int | send_reply (struct mg_connection *conn) |
static int ev_handler | ( | struct mg_connection * | conn, |
enum mg_event | ev | ||
) | [static] |
Definition at line 35 of file websocket_echo_server.c.
int main | ( | void | ) |
Definition at line 43 of file websocket_echo_server.c.
static void push_message | ( | struct mg_server * | server, |
time_t | current_time | ||
) | [static] |
Definition at line 8 of file websocket_echo_server.c.
static int send_reply | ( | struct mg_connection * | conn | ) | [static] |
Definition at line 21 of file websocket_echo_server.c.