|
C++ Actor Framework 0.19
|
DSL entry point for creating a client. More...
#include <has_connect.hpp>
Public Member Functions | |
| auto | connect (std::string host, uint16_t port) |
Creates a connect_factory object for the given TCP host and port. | |
| auto | connect (stream_socket fd) |
Creates a connect_factory object for the given stream fd. | |
| auto | connect (ssl::connection conn) |
Creates a connect_factory object for the given SSL connection. | |
DSL entry point for creating a client.
| auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | ssl::connection | conn | ) |
Creates a connect_factory object for the given SSL connection.
| conn | The SSL connection to use. |
connect_factory object that will use the given connection. | auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | std::string | host, |
| uint16_t | port | ||
| ) |
Creates a connect_factory object for the given TCP host and port.
| host | The hostname or IP address to connect to. |
| port | The port number to connect to. |
connect_factory object initialized with the given parameters. | auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | stream_socket | fd | ) |
Creates a connect_factory object for the given stream fd.
| fd | The stream socket to use for the connection. |
connect_factory object that will use the given socket.