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:
Richard Hodges
2020-06-01 20:07:29 +02:00
parent 24d0b1f7bd
commit 840cc8f9d6
2 changed files with 3 additions and 35 deletions

View File

@ -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

View File

@ -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