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:
Vinnie Falco
2019-02-26 07:20:46 -08:00
parent 81f33a0f89
commit 0647c902ac
54 changed files with 395 additions and 345 deletions
+2 -2
View File
@@ -658,7 +658,7 @@ public:
template<class SyncStream>
void
teardown(
boost::beast::websocket::role_type role,
boost::beast::role_type role,
ssl_stream<SyncStream>& stream,
boost::system::error_code& ec)
{
@@ -670,7 +670,7 @@ teardown(
template<class AsyncStream, class TeardownHandler>
void
async_teardown(
boost::beast::websocket::role_type role,
boost::beast::role_type role,
ssl_stream<AsyncStream>& stream,
TeardownHandler&& handler)
{