role.hpp 750 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // Copyright (c) 2016-2019 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. #ifndef BOOST_BEAST_WEBSOCKET_ROLE_HPP
  10. #define BOOST_BEAST_WEBSOCKET_ROLE_HPP
  11. #include <boost/beast/core/detail/config.hpp>
  12. #ifndef BOOST_BEAST_ALLOW_DEPRECATED
  13. #error This file is deprecated interface, #define BOOST_BEAST_ALLOW_DEPRECATED to allow it
  14. #else
  15. #include <boost/beast/core/role.hpp>
  16. namespace boost {
  17. namespace beast {
  18. namespace websocket {
  19. using role_type = beast::role_type;
  20. } // websocket
  21. } // beast
  22. } // boost
  23. #endif
  24. #endif