async_mqtt 9.0.1
Loading...
Searching...
No Matches
wss.hpp
1// Copyright Takatoshi Kondo 2022
2//
3// Distributed under the Boost Software License, Version 1.0.
4// (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#if !defined(ASYNC_MQTT_PREDEFINED_LAYER_WSS_HPP)
8#define ASYNC_MQTT_PREDEFINED_LAYER_WSS_HPP
9
10#include <boost/beast/ssl/ssl_stream.hpp>
11
12#include <async_mqtt/predefined_layer/mqtts.hpp>
13#include <async_mqtt/predefined_layer/ws.hpp>
15
25namespace async_mqtt {
26
27namespace as = boost::asio;
28namespace bs = boost::beast;
29
30namespace protocol {
31
57using wss = bs::websocket::stream<mqtts>;
58
59} // namespace protocol
60
61} // namespace async_mqtt
62
63#endif // ASYNC_MQTT_PREDEFINED_LAYER_WSS_HPP
bs::websocket::stream< mqtts > wss
Type alias of boost::beast::websocket::stream of mqtts async_underlying_handshake function can be cal...
Definition wss.hpp:57