C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
caf::net::web_socket::client_factory< Trait > Class Template Reference

Factory for the with(...).connect(...).start(...) DSL. More...

#include <client_factory.hpp>

Inheritance diagram for caf::net::web_socket::client_factory< Trait >:
caf::net::dsl::client_factory_base< client_config< Trait >, client_factory< Trait > >

Public Types

using super = dsl::client_factory_base< client_config< Trait >, client_factory< Trait > >
 
using config_type = typename super::config_type
 
- Public Types inherited from caf::net::dsl::client_factory_base< client_config< Trait >, client_factory< Trait > >
using config_type = client_config< Trait >
 
using trait_type = typename config_type::trait_type
 
using config_pointer = intrusive_ptr< config_type >
 

Public Member Functions

template<class OnStart >
expected< disposablestart (OnStart on_start)
 Starts a connection with the length-prefixing protocol.
 
- Public Member Functions inherited from caf::net::dsl::client_factory_base< client_config< Trait >, client_factory< Trait > >
 client_factory_base (const client_factory_base &)=default
 
 client_factory_base (dsl::client_config_tag< T > token, Ts &&... xs)
 
client_factory_baseoperator= (const client_factory_base &)=default
 
client_factory< Trait > & do_on_error (F callback)
 Sets the callback for errors.
 
client_factory< Trait > & retry_delay (timespan value)
 Sets the retry delay for connection attempts.
 
client_factory< Trait > & connection_timeout (timespan value)
 Sets the connection timeout for connection attempts.
 
client_factory< Trait > & max_retry_count (size_t value)
 Sets the maximum number of connection retry attempts.
 
config_typeconfig ()
 

Detailed Description

template<class Trait>
class caf::net::web_socket::client_factory< Trait >

Factory for the with(...).connect(...).start(...) DSL.


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