Configuration for a server that creates the socket on demand.
More...
#include <server_config.hpp>
|
uint16_t | port = 0 |
| The port number to bind to.
|
|
std::string | bind_address |
| The address to bind to.
|
|
bool | reuse_addr = true |
| Whether to set SO_REUSEADDR on the socket.
|
|
ctx_factory | make_ctx |
| SSL context factory for lazy loading SSL on demand.
|
|
|
static constexpr std::string_view | name = "lazy" |
|
|
using | ctx_ptr = std::shared_ptr<ssl::context> |
|
using | ctx_factory = std::function<expected<ctx_ptr>()> |
|
template<class SumType > |
static auto | from (SumType &data) noexcept |
|
Configuration for a server that creates the socket on demand.
The documentation for this class was generated from the following file:
- libcaf_net/caf/net/dsl/server_config.hpp