2017-08-04 13:31:24 -07:00
|
|
|
//
|
2019-02-21 07:00:31 -08:00
|
|
|
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
|
2017-08-04 13:31:24 -07:00
|
|
|
//
|
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
//
|
|
|
|
|
// Official repository: https://github.com/boostorg/beast
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef BOOST_BEAST_WEBSOCKET_ROLE_HPP
|
|
|
|
|
#define BOOST_BEAST_WEBSOCKET_ROLE_HPP
|
|
|
|
|
|
2017-10-10 07:49:03 -07:00
|
|
|
#include <boost/beast/core/detail/config.hpp>
|
2017-08-04 13:31:24 -07:00
|
|
|
|
2019-02-25 16:00:50 -08:00
|
|
|
#if ! BOOST_BEAST_ALLOW_DEPRECATED
|
|
|
|
|
|
|
|
|
|
#error This file is deprecated interface, #define BOOST_BEAST_ALLOW_DEPRECATED to allow it
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
#include <boost/beast/core/role.hpp>
|
|
|
|
|
|
2017-08-04 13:31:24 -07:00
|
|
|
namespace boost {
|
|
|
|
|
namespace beast {
|
|
|
|
|
namespace websocket {
|
|
|
|
|
|
2019-02-25 16:00:50 -08:00
|
|
|
using role_type = beast::role_type;
|
2017-08-04 13:31:24 -07:00
|
|
|
|
|
|
|
|
} // websocket
|
|
|
|
|
} // beast
|
|
|
|
|
} // boost
|
|
|
|
|
|
|
|
|
|
#endif
|
2019-02-25 16:00:50 -08:00
|
|
|
|
|
|
|
|
#endif
|