ゴミ箱
role.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_ROLE_HPP
11 #define BOOST_BEAST_WEBSOCKET_ROLE_HPP
12 
13 #include <boost/beast/config.hpp>
14 
15 namespace boost {
16 namespace beast {
17 namespace websocket {
18 
46 enum class role_type
47 {
49  client,
50 
52  server
53 };
54 
55 } // websocket
56 } // beast
57 } // boost
58 
59 #endif
Definition: async_result.hpp:20
role_type
Definition: role.hpp:46
The stream is operating as a client.
The stream is operating as a server.