C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
caf::net::web_socket::acceptor< Ts > Class Template Referenceabstract

Accepts or rejects incoming connection requests. More...

#include <acceptor.hpp>

Public Types

template<class Trait >
using server_factory_type = server_factory< Trait, Ts... >
 

Public Member Functions

 acceptor (const http::request_header &hdr)
 
virtual void accept (Ts... xs)=0
 
void reject (error reason)
 
bool accepted () const noexcept
 
error && reject_reason () &&noexcept
 
const errorreject_reason () const &noexcept
 
const http::request_headerheader () const noexcept
 

Protected Attributes

const http::request_headerhdr_
 
bool accepted_ = false
 
error reject_reason_
 

Detailed Description

template<class... Ts>
class caf::net::web_socket::acceptor< Ts >

Accepts or rejects incoming connection requests.

Template Parameters
TsDenotes the types for the worker handshake.

The documentation for this class was generated from the following file: