#include <server.h>
◆ io_context
◆ IoIterator
using http::server::Server::IoIterator = IoThreads::iterator |
◆ IoThreads
using http::server::Server::IoThreads = std::list<IoThread> |
◆ Methods
◆ native_handle_type
◆ socket
◆ State
enum class http::server::Server::State |
|
strongprivate |
Enumerator |
---|
kInitializing | |
kRunning | |
kStopping | |
kStopped | |
◆ Server()
◆ disconnect_all()
size_t http::server::Server::disconnect_all |
( |
| ) |
|
|
private |
◆ on_connection_close() [1/2]
void http::server::Server::on_connection_close |
( |
ConnectionRaw * |
connection | ) |
|
|
overrideprivate |
◆ on_connection_close() [2/2]
void http::server::Server::on_connection_close |
( |
ConnectionTls * |
connection | ) |
|
|
overrideprivate |
◆ on_connection_io_error() [1/2]
void http::server::Server::on_connection_io_error |
( |
ConnectionRaw * |
connection, |
|
|
const std::error_code & |
ec |
|
) |
| |
|
overrideprivate |
◆ on_connection_io_error() [2/2]
void http::server::Server::on_connection_io_error |
( |
ConnectionTls * |
connection, |
|
|
const std::error_code & |
ec |
|
) |
| |
|
overrideprivate |
◆ on_new_connection()
void http::server::Server::on_new_connection |
( |
socket |
socket | ) |
|
|
private |
◆ on_new_ssl_connection()
void http::server::Server::on_new_ssl_connection |
( |
socket |
socket | ) |
|
|
private |
◆ return_next_thread()
IoThread * http::server::Server::return_next_thread |
( |
| ) |
|
|
private |
◆ set_allowed_methods()
void http::server::Server::set_allowed_methods |
( |
const Methods & |
methods | ) |
|
◆ set_request_handler()
◆ socket_move_to_io_thread()
◆ start()
void http::server::Server::start |
( |
| ) |
|
◆ start_accepting()
void http::server::Server::start_accepting |
( |
| ) |
|
|
private |
◆ stop()
void http::server::Server::stop |
( |
| ) |
|
◆ allowed_methods_
◆ bind_raw_
Bind* http::server::Server::bind_raw_ |
|
private |
◆ bind_ssl_
Bind* http::server::Server::bind_ssl_ |
|
private |
◆ connections_
◆ connections_ssl_
◆ current_thread_
◆ handler_
◆ mutex_connection_
std::mutex http::server::Server::mutex_connection_ |
|
private |
◆ sync_state_
◆ threads_
std::list<IoThread>* http::server::Server::threads_ |
|
private |
◆ tls_context_
The documentation for this class was generated from the following files: