Factory for the with(...).connect(...).start(...) DSL.
More...
#include <client_factory.hpp>
|
|
template<class Token , class... Args> |
| | client_factory (Token token, const dsl::generic_config_value &from, Args &&... args) |
| |
|
| client_factory (client_factory &&other) noexcept |
| |
|
client_factory & | operator= (client_factory &&other) noexcept |
| |
|
template<class OnStart > |
| expected< disposable > | start (OnStart on_start) |
| | Starts a connection with the length-prefixing protocol.
|
| |
|
client_factory & | do_on_error (F callback) |
| | Sets the callback for errors.
|
| |
| client_factory & | retry_delay (timespan value) |
| | Sets the retry delay for connection attempts.
|
| |
| client_factory & | connection_timeout (timespan value) |
| | Sets the connection timeout for connection attempts.
|
| |
| client_factory & | max_retry_count (size_t value) |
| | Sets the maximum number of connection retry attempts.
|
| |
|
| dsl::client_config_value & | base_config () override |
| |
|
client_factory & | dref () |
| |
|
auto | with_ssl_connection (Fn &&fn) |
| |
|
auto | with_ssl_connection_or_socket (Fn &&fn) |
| |
|
auto | with_ssl_connection_or_socket_select (bool use_ssl, Fn &&fn) |
| |
Factory for the with(...).connect(...).start(...) DSL.
◆ base_config()
| dsl::client_config_value & caf::net::web_socket::client_factory::base_config |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- libcaf_net/caf/net/web_socket/client_factory.hpp
- libcaf_net/caf/net/web_socket/client_factory.cpp