forked from boostorg/beast
role_type is in boost/beast/core/role.hpp (API Change):
This enumeration is now part of the library core and not specific to websocket.
This commit is contained in:
1 parent
81f33a0f89
commit
0647c902ac
54 files changed
+395
-345
No files matched your search
@@ -392,7 +392,7 @@ async_write_some(
|
||||
template<class TeardownHandler>
|
||||
void
|
||||
async_teardown(
|
||||
websocket::role_type,
|
||||
role_type,
|
||||
stream& s,
|
||||
TeardownHandler&& handler)
|
||||
{
|
||||
|
||||
@@ -255,7 +255,7 @@ close_remote()
|
||||
|
||||
void
|
||||
teardown(
|
||||
websocket::role_type,
|
||||
role_type,
|
||||
stream& s,
|
||||
boost::system::error_code& ec)
|
||||
{
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
#include <boost/beast/core/bind_handler.hpp>
|
||||
#include <boost/beast/core/flat_buffer.hpp>
|
||||
#include <boost/beast/core/role.hpp>
|
||||
#include <boost/beast/core/string.hpp>
|
||||
#include <boost/beast/websocket/role.hpp>
|
||||
#include <boost/beast/_experimental/test/fail_count.hpp>
|
||||
#include <boost/asio/async_result.hpp>
|
||||
#include <boost/asio/buffer.hpp>
|
||||
@@ -494,7 +494,7 @@ public:
|
||||
BOOST_BEAST_DECL
|
||||
void
|
||||
teardown(
|
||||
websocket::role_type,
|
||||
role_type,
|
||||
stream& s,
|
||||
boost::system::error_code& ec);
|
||||
|
||||
@@ -503,7 +503,7 @@ public:
|
||||
BOOST_BEAST_DECL
|
||||
void
|
||||
async_teardown(
|
||||
websocket::role_type role,
|
||||
role_type role,
|
||||
stream& s,
|
||||
TeardownHandler&& handler);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user