Go to the source code of this file.
|
static void | http_body_echo (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, const std::string &body) |
|
static bool | http_path_echo (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, const char *begin, const char *end) |
|
static bool | http_query_echo (const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, const char *begin, const char *end) |
|
int | main (int argc, char **argv) |
|
void | sig_handler (int signo) |
|
WebsocketConnection::MessageHandler | websocket_echo (const HttpRequest &request, WebsocketConnectionPtr websocket) |
|
◆ http_body_echo()
◆ http_path_echo()
◆ http_query_echo()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ sig_handler()
void sig_handler |
( |
int |
signo | ) |
|
◆ websocket_echo()
◆ should_shutdown
volatile bool should_shutdown = false |