mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Remove websocket::role_type (API Change):
websocket::role_type has been removed. Users should use beast::role_type instead. refs #1934
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
* Remove websocket::role_type (API Change)
|
||||
* Remove accept_ex and handshake_ex variants (API Change)
|
||||
* Rename to BOOST_BEAST_ALLOW_DEPRECATED (API Change)
|
||||
|
||||
API Changes:
|
||||
|
||||
* websocket::role_type has been removed. Users should use beast::role_type instead.
|
||||
|
||||
* The following deprecated functions have been removed:
|
||||
- websocket::async_accept_ex
|
||||
- websocket::async_handshake_ex
|
||||
|
@ -1,35 +0,0 @@
|
||||
//
|
||||
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
//
|
||||
// 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
|
||||
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
|
||||
#ifndef 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>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
namespace websocket {
|
||||
|
||||
using role_type = beast::role_type;
|
||||
|
||||
} // websocket
|
||||
} // beast
|
||||
} // boost
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user