#include <http_server_plugin.h>
◆ HttpServer() [1/3]
HttpServer::HttpServer |
( |
const char * |
address, |
|
|
uint16_t |
port |
|
) |
| |
|
inline |
◆ HttpServer() [2/3]
◆ HttpServer() [3/3]
◆ ~HttpServer()
virtual HttpServer::~HttpServer |
( |
| ) |
|
|
inlinevirtual |
◆ add_route()
void HttpServer::add_route |
( |
const std::string & |
url_regex, |
|
|
std::unique_ptr< BaseRequestHandler > |
cb |
|
) |
| |
◆ join_all()
void HttpServer::join_all |
( |
| ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ remove_route()
void HttpServer::remove_route |
( |
const std::string & |
url_regex | ) |
|
◆ request_router()
◆ start()
void HttpServer::start |
( |
size_t |
max_threads | ) |
|
|
virtual |
◆ stop()
void HttpServer::stop |
( |
| ) |
|
◆ address_
std::string HttpServer::address_ |
|
protected |
◆ io_ctx_
◆ listen_sock_
◆ port_
uint16_t HttpServer::port_ |
|
protected |
◆ request_router_
◆ sys_threads_
std::vector<std::thread> HttpServer::sys_threads_ |
|
protected |
◆ thread_contexts_
The documentation for this class was generated from the following files: