]>
Commit | Line | Data |
---|---|---|
b32b8144 | 1 | // |
92f5a8d4 | 2 | // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) |
b32b8144 FG |
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/core/detail/config.hpp> | |
14 | ||
92f5a8d4 TL |
15 | #ifndef BOOST_BEAST_ALLOW_DEPRECATED |
16 | ||
17 | #error This file is deprecated interface, #define BOOST_BEAST_ALLOW_DEPRECATED to allow it | |
18 | ||
19 | #else | |
20 | ||
21 | #include <boost/beast/core/role.hpp> | |
22 | ||
b32b8144 FG |
23 | namespace boost { |
24 | namespace beast { | |
25 | namespace websocket { | |
26 | ||
92f5a8d4 | 27 | using role_type = beast::role_type; |
b32b8144 FG |
28 | |
29 | } // websocket | |
30 | } // beast | |
31 | } // boost | |
32 | ||
33 | #endif | |
92f5a8d4 TL |
34 | |
35 | #endif |