#include <http_server_context.h>
|
| HttpServerContext (net::io_context *context, IoThreads *io_threads, TlsServerContext &&tls_context, const std::string &host, const uint16_t port) |
|
| HttpServerContext (net::io_context *context, IoThreads *io_threads, const std::string &host, const uint16_t port) |
|
void | start () |
|
void | stop () |
|
void | join_all () |
|
void | add_route (const std::string &url_host, const std::string &url_regex, std::unique_ptr< http::base::RequestHandler > cb) |
|
void | remove_route (const std::string &url_host, const std::string &url_regex) |
|
void | remove_route (const void *handler_id) |
|
bool | is_ssl_configured () |
|
HttpRequestRouter & | request_router () |
|
◆ IoThreads
◆ HttpServerContext() [1/2]
◆ HttpServerContext() [2/2]
http::HttpServerContext::HttpServerContext |
( |
net::io_context * |
context, |
|
|
IoThreads * |
io_threads, |
|
|
const std::string & |
host, |
|
|
const uint16_t |
port |
|
) |
| |
◆ add_route()
void http::HttpServerContext::add_route |
( |
const std::string & |
url_host, |
|
|
const std::string & |
url_regex, |
|
|
std::unique_ptr< http::base::RequestHandler > |
cb |
|
) |
| |
◆ is_ssl_configured()
bool http::HttpServerContext::is_ssl_configured |
( |
| ) |
|
◆ join_all()
void http::HttpServerContext::join_all |
( |
| ) |
|
◆ remove_route() [1/2]
void http::HttpServerContext::remove_route |
( |
const std::string & |
url_host, |
|
|
const std::string & |
url_regex |
|
) |
| |
◆ remove_route() [2/2]
void http::HttpServerContext::remove_route |
( |
const void * |
handler_id | ) |
|
◆ request_router()
◆ start()
void http::HttpServerContext::start |
( |
| ) |
|
◆ stop()
void http::HttpServerContext::stop |
( |
| ) |
|
◆ bind
◆ context_
◆ host_
std::string http::HttpServerContext::host_ |
|
private |
◆ http
server::Server http::HttpServerContext::http |
|
private |
◆ port_
uint16_t http::HttpServerContext::port_ |
|
private |
◆ request_handler_
◆ ssl_
bool http::HttpServerContext::ssl_ {false} |
|
private |
◆ tls_context_
The documentation for this class was generated from the following files: