A TCP connector session with TLS support asynchronously connecting to a TCP server.  
 More...
A TCP connector session with TLS support asynchronously connecting to a TCP server. 
The session implements the asio::SocketCreationSession class template and signals asio::Socket interfaces for connected and encrypted sockets. Synopsis: 
auto context = std::make_shared<asio::Context>();
auto tls_context = std::make_shared<asio::TlsContext>(asio::TlsContext::tlsv12_client);
 
tls_context->set_default_verify_paths();
 
 
session->observeConnectionEstablished([](std::unique_ptr<asio::Socket>& socket) {
  
  
});
 
session->start();
 
context->run(); 
static std::shared_ptr< TlsConnectorSession > create(Arguments &&... arguments)
 
  
Definition at line 36 of file TlsConnectorSession.h.