async_mqtt 9.0.1
|
Typedefs | |
using | async_mqtt::protocol::ws = bs::websocket::stream<mqtt> |
Type alias of boost::beast::websocket::stream of mqtt. | |
Functions | |
template<typename NextLayer , typename CompletionToken = as::default_completion_token_t< typename bs::websocket::stream<NextLayer>::executor_type >> | |
async_mqtt::async_underlying_handshake (bs::websocket::stream< NextLayer > &layer, std::string_view host, std::string_view port, std::string_view path, CompletionToken &&token=as::default_completion_token_t< typename bs::websocket::stream< NextLayer >::executor_type >{}) | |
Websocket handshake This function does underlying layers handshaking prior to Websocket handshake. | |
template<typename NextLayer , typename CompletionToken = as::default_completion_token_t< typename bs::websocket::stream<NextLayer>::executor_type >> | |
async_mqtt::async_underlying_handshake (bs::websocket::stream< NextLayer > &layer, std::string_view host, std::string_view port, CompletionToken &&token=as::default_completion_token_t< typename bs::websocket::stream< NextLayer >::executor_type >{}) | |
Websocket handshake This function does underlying layers handshaking prior to Websocket handshake Websocket path is set as "/". | |
async_mqtt::async_underlying_handshake | ( | bs::websocket::stream< NextLayer > & | layer, |
std::string_view | host, | ||
std::string_view | port, | ||
CompletionToken && | token = as::default_completion_token_t< typename bs::websocket::stream< NextLayer >::executor_type >{} ) |
Websocket handshake This function does underlying layers handshaking prior to Websocket handshake Websocket path is set as "/".
layer | Websocket layer |
host | host name or IP address to connect |
port | port number to connect |
token | completion token. signature is void(error_code) |
async_mqtt::async_underlying_handshake | ( | bs::websocket::stream< NextLayer > & | layer, |
std::string_view | host, | ||
std::string_view | port, | ||
std::string_view | path, | ||
CompletionToken && | token = as::default_completion_token_t< typename bs::websocket::stream< NextLayer >::executor_type >{} ) |
Websocket handshake This function does underlying layers handshaking prior to Websocket handshake.
layer | Websocket layer |
host | host name or IP address to connect |
port | port number to connect |
path | websocket path |
token | completion token. signature is void(error_code) |