ゴミ箱
ssl.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_WEBSOCKET_SSL_HPP
11 #define BOOST_BEAST_WEBSOCKET_SSL_HPP
12 
13 #include <boost/beast/config.hpp>
15 #include <boost/asio/ip/tcp.hpp>
16 #include <boost/asio/ssl/stream.hpp>
17 
18 namespace boost {
19 namespace beast {
20 namespace websocket {
21 
37 template<class SyncStream>
38 void
39 teardown(
40  role_type role,
41  boost::asio::ssl::stream<SyncStream>& stream,
42  error_code& ec);
43 
70 template<class AsyncStream, class TeardownHandler>
71 inline
72 void
74  role_type role,
75  boost::asio::ssl::stream<AsyncStream>& stream,
76  TeardownHandler&& handler);
77 
78 } // websocket
79 } // beast
80 } // boost
81 
83 
84 #endif
Definition: async_result.hpp:20
role_type
Definition: role.hpp:46
void async_teardown(role_type, boost::asio::ssl::stream< AsyncStream > &stream, TeardownHandler &&handler)
Definition: ssl.ipp:48
boost::system::error_code error_code
The type of error code used by the library.
Definition: error.hpp:21
void teardown(role_type, boost::asio::ssl::stream< AsyncStream > &stream, error_code &ec)
Definition: ssl.ipp:36