|
C++ Actor Framework 1.0.0
|
Configuration for a client that uses a user-provided socket. More...
#include <client_config.hpp>
Public Member Functions | |
| socket (stream_socket fd) | |
| socket (const socket &)=delete | |
| socket & | operator= (const socket &)=delete |
| socket (socket &&other) noexcept | |
| socket & | operator= (socket &&other) noexcept |
| stream_socket | take_fd () noexcept |
Returns the file descriptor and setting the fd member variable to the invalid socket. | |
Public Member Functions inherited from caf::net::dsl::has_make_ctx | |
| void | assign (const has_make_ctx *other) noexcept |
Public Attributes | |
| stream_socket | fd |
| The socket file descriptor to use. | |
Public Attributes inherited from caf::net::dsl::has_make_ctx | |
| ctx_factory | make_ctx |
| SSL context factory for lazy loading SSL on demand. | |
Static Public Attributes | |
| static constexpr std::string_view | name = "socket" |
Additional Inherited Members | |
Public Types inherited from caf::net::dsl::has_make_ctx | |
| using | ctx_ptr = std::shared_ptr<ssl::context> |
| using | ctx_factory = std::function<expected<ctx_ptr>()> |
Static Public Member Functions inherited from caf::net::dsl::has_make_ctx | |
| template<class SumType > | |
| static auto | from (SumType &data) noexcept |
Configuration for a client that uses a user-provided socket.