DSL entry point for creating a server.
More...
#include <has_on_request.hpp>
|
template<class Token , class... Args> |
| has_on_request (Token token, const dsl::generic_config_value &from, Args &&... args) |
|
template<class OnRequest > |
auto | on_request (OnRequest on_request) |
| Adds the handler for accepting or rejecting incoming requests.
|
|
has_on_request && | do_on_error (F callback) && |
| Sets the callback for errors.
|
|
has_on_request && | max_connections (size_t value) && |
| Configures how many concurrent connections the server accepts.
|
|
has_on_request && | reuse_address (bool value) && |
| Configures whether the server creates its socket with SO_REUSEADDR .
|
|
|
dsl::server_config_value & | base_config () override |
|
has_on_request && | dref () |
|
auto | with_ssl_acceptor_or_socket (Fn &&fn) |
|
DSL entry point for creating a server.
◆ base_config()
dsl::server_config_value & caf::net::web_socket::has_on_request::base_config |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- libcaf_net/caf/net/web_socket/has_on_request.hpp
- libcaf_net/caf/net/web_socket/has_on_request.cpp