A TCP connector session asynchronously connecting to a TCP server.
The session implements the asio::SocketCreationSession class template and signals asio::Socket interfaces for connected sockets. Synopsis:
auto context = std::make_shared<asio::Context>();
session->observeConnectionEstablished([](std::unique_ptr<asio::Socket>& socket) {
});
context->run();
static std::shared_ptr< TcpConnectorSession > create(Arguments &&... arguments)
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition at line 32 of file TcpConnectorSession.h.