#include <bind.h>
◆ acceptor
◆ endpoint
◆ io_context
◆ resolver
◆ socket_type
◆ State
enum class http::server::Bind::State |
|
strongprivate |
Enumerator |
---|
kInitializing | |
kRunning | |
kStopping | |
kTerminated | |
◆ Bind()
http::server::Bind::Bind |
( |
io_context * |
io_context, |
|
|
const std::string & |
address, |
|
|
const uint16_t |
port |
|
) |
| |
◆ is_not_fatal()
static bool http::server::Bind::is_not_fatal |
( |
const std::error_code & |
error | ) |
|
|
inlinestatic |
◆ local_endpoint()
endpoint http::server::Bind::local_endpoint |
( |
| ) |
|
|
inline |
◆ on_new_socket_callback()
void http::server::Bind::on_new_socket_callback |
( |
Callback |
callback | ) |
|
|
inlineprivate |
◆ start_accepting_loop()
void http::server::Bind::start_accepting_loop |
( |
Callback |
callback | ) |
|
|
inline |
◆ stop_accepting_loop()
void http::server::Bind::stop_accepting_loop |
( |
| ) |
|
|
inline |
◆ context_
◆ resolver_
◆ socket_
◆ sync_state_
The documentation for this class was generated from the following files:
- router/src/http/src/http/server/bind.h
- router/src/http/src/http/server/bind.cc