MySQL 8.0.40
Source Code Documentation
|
Public Member Functions | |
HttpsServer (TlsServerContext &&tls_ctx, const std::string &address, uint16_t port) | |
void | start (size_t max_threads) override |
Public Member Functions inherited from HttpServer | |
HttpServer (const char *address, uint16_t port) | |
HttpServer (const HttpServer &)=delete | |
HttpServer & | operator= (const HttpServer &)=delete |
HttpServer (HttpServer &&)=delete | |
HttpServer & | operator= (HttpServer &&)=delete |
void | join_all () |
virtual | ~HttpServer () |
void | stop () |
void | add_route (const std::string &url_regex, std::unique_ptr< BaseRequestHandler > cb) |
void | remove_route (const std::string &url_regex) |
HttpRequestRouter & | request_router () |
Private Attributes | |
TlsServerContext | ssl_ctx_ |
Additional Inherited Members | |
Protected Attributes inherited from HttpServer | |
std::vector< HttpRequestThread > | thread_contexts_ |
std::string | address_ |
uint16_t | port_ |
HttpRequestRouter | request_router_ |
net::io_context | io_ctx_ |
net::ip::tcp::acceptor | listen_sock_ {io_ctx_} |
std::vector< std::thread > | sys_threads_ |
|
inline |
|
overridevirtual |
Reimplemented from HttpServer.
|
private |