async_mqtt 9.0.1
Loading...
Searching...
No Matches
Collaboration diagram for predefined underlying layer (TLS):

Typedefs

using async_mqtt::protocol::mqtts = as::ssl::stream<mqtt>
 Type alias of boost::asio::ssl::stream of mqtt.
 

Functions

template<typename NextLayer , typename CompletionToken = as::default_completion_token_t< typename as::ssl::stream<NextLayer>::executor_type >>
 async_mqtt::async_underlying_handshake (as::ssl::stream< NextLayer > &layer, std::string_view host, std::string_view port, CompletionToken &&token=as::default_completion_token_t< typename as::ssl::stream< NextLayer >::executor_type >{})
 TLS handshake This function does underlying layers handshaking prior to TLS handshake.
 

Detailed Description

Typedef Documentation

◆ mqtts

using async_mqtt::protocol::mqtts = as::ssl::stream<mqtt>

Type alias of boost::asio::ssl::stream of mqtt.

predefined underlying layer (TLS)

Requirements

Function Documentation

◆ async_underlying_handshake()

template<typename NextLayer , typename CompletionToken = as::default_completion_token_t< typename as::ssl::stream<NextLayer>::executor_type >>
async_mqtt::async_underlying_handshake ( as::ssl::stream< NextLayer > & layer,
std::string_view host,
std::string_view port,
CompletionToken && token = as::default_completion_token_t< typename as::ssl::stream< NextLayer >::executor_type >{} )

TLS handshake This function does underlying layers handshaking prior to TLS handshake.

Parameters
layerTLS layer
hosthost name or IP address to connect
portport number to connect
tokencompletion token. signature is void(error_code)
Returns
deduced by token

Requirements