#include <http_server_context.h>
|
| | HttpServerContext (net::io_context *context, IoThreads *io_threads, TlsServerContext &&tls_context, const std::string &host, const uint16_t port, uint64_t max_http_connections, uint64_t max_request_body_size, uint64_t max_response_body_size) |
| |
| | HttpServerContext (net::io_context *context, IoThreads *io_threads, const std::string &host, const uint16_t port, uint64_t max_http_connections, uint64_t max_request_body_size, uint64_t max_response_body_size) |
| |
| void | start () |
| |
| void | stop () |
| |
| void | join_all () |
| |
| void | add_regex_route (const std::string &url_host, const std::string &url_regex, std::unique_ptr< http::base::RequestHandler > cb) |
| |
| void | add_direct_match_route (const std::string &url_host, const base::UriPathMatcher &url_path, std::unique_ptr< http::base::RequestHandler > cb) |
| |
| void | remove_route (const void *handler_id) |
| |
| bool | is_ssl_configured () |
| |
| void | set_max_http_connections (std::optional< uint64_t > value) |
| |
| uint64_t | get_effective_max_http_connections () const |
| |
| void | set_max_request_body_size (std::optional< uint64_t > value) |
| |
| uint64_t | get_effective_max_request_body_size () const |
| |
| void | set_max_response_body_size (std::optional< uint64_t > value) |
| |
| uint64_t | get_effective_max_response_body_size () const |
| |
| void | clear_overrides () |
| |
| HttpRequestRouter & | request_router () |
| |
◆ IoThreads
◆ HttpServerContext() [1/2]
| http::HttpServerContext::HttpServerContext |
( |
net::io_context * |
context, |
|
|
IoThreads * |
io_threads, |
|
|
TlsServerContext && |
tls_context, |
|
|
const std::string & |
host, |
|
|
const uint16_t |
port, |
|
|
uint64_t |
max_http_connections, |
|
|
uint64_t |
max_request_body_size, |
|
|
uint64_t |
max_response_body_size |
|
) |
| |
◆ HttpServerContext() [2/2]
| http::HttpServerContext::HttpServerContext |
( |
net::io_context * |
context, |
|
|
IoThreads * |
io_threads, |
|
|
const std::string & |
host, |
|
|
const uint16_t |
port, |
|
|
uint64_t |
max_http_connections, |
|
|
uint64_t |
max_request_body_size, |
|
|
uint64_t |
max_response_body_size |
|
) |
| |
◆ add_direct_match_route()
◆ add_regex_route()
| void http::HttpServerContext::add_regex_route |
( |
const std::string & |
url_host, |
|
|
const std::string & |
url_regex, |
|
|
std::unique_ptr< http::base::RequestHandler > |
cb |
|
) |
| |
◆ clear_overrides()
| void http::HttpServerContext::clear_overrides |
( |
| ) |
|
◆ get_effective_max_http_connections()
| uint64_t http::HttpServerContext::get_effective_max_http_connections |
( |
| ) |
const |
◆ get_effective_max_request_body_size()
| uint64_t http::HttpServerContext::get_effective_max_request_body_size |
( |
| ) |
const |
◆ get_effective_max_response_body_size()
| uint64_t http::HttpServerContext::get_effective_max_response_body_size |
( |
| ) |
const |
◆ is_ssl_configured()
| bool http::HttpServerContext::is_ssl_configured |
( |
| ) |
|
◆ join_all()
| void http::HttpServerContext::join_all |
( |
| ) |
|
◆ remove_route()
| void http::HttpServerContext::remove_route |
( |
const void * |
handler_id | ) |
|
◆ request_router()
◆ set_max_http_connections()
| void http::HttpServerContext::set_max_http_connections |
( |
std::optional< uint64_t > |
value | ) |
|
◆ set_max_request_body_size()
| void http::HttpServerContext::set_max_request_body_size |
( |
std::optional< uint64_t > |
value | ) |
|
◆ set_max_response_body_size()
| void http::HttpServerContext::set_max_response_body_size |
( |
std::optional< uint64_t > |
value | ) |
|
◆ 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_router_
◆ ssl_
| bool http::HttpServerContext::ssl_ {false} |
|
private |
◆ tls_context_
The documentation for this class was generated from the following files: