C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::web_socket::has_on_request Class Reference

DSL entry point for creating a server. More...

#include <has_on_request.hpp>

Inheritance diagram for caf::net::web_socket::has_on_request:
caf::net::dsl::server_factory_base< has_on_request >

Public Member Functions

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.
 
- Public Member Functions inherited from caf::net::dsl::server_factory_base< has_on_request >
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.
 

Protected Member Functions

dsl::server_config_value & base_config () override
 
- Protected Member Functions inherited from caf::net::dsl::server_factory_base< has_on_request >
has_on_request && dref ()
 
auto with_ssl_acceptor_or_socket (Fn &&fn)
 

Detailed Description

DSL entry point for creating a server.

Member Function Documentation

◆ 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: