mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Add stream_fwd.hpp
This commit is contained in:
@ -5,6 +5,7 @@ Version 151:
|
||||
WebSocket:
|
||||
|
||||
* Control callback is invoked on the execution context
|
||||
* Add stream_fwd.hpp
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <boost/beast/websocket/option.hpp>
|
||||
#include <boost/beast/websocket/rfc6455.hpp>
|
||||
#include <boost/beast/websocket/stream.hpp>
|
||||
#include <boost/beast/websocket/stream_fwd.hpp>
|
||||
#include <boost/beast/websocket/teardown.hpp>
|
||||
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <boost/beast/websocket/option.hpp>
|
||||
#include <boost/beast/websocket/role.hpp>
|
||||
#include <boost/beast/websocket/rfc6455.hpp>
|
||||
#include <boost/beast/websocket/stream_fwd.hpp>
|
||||
#include <boost/beast/websocket/detail/frame.hpp>
|
||||
#include <boost/beast/websocket/detail/hybi13.hpp>
|
||||
#include <boost/beast/websocket/detail/mask.hpp>
|
||||
|
27
include/boost/beast/websocket/stream_fwd.hpp
Normal file
27
include/boost/beast/websocket/stream_fwd.hpp
Normal file
@ -0,0 +1,27 @@
|
||||
//
|
||||
// Copyright (c) 2016-2017 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_STREAM_FWD_HPP
|
||||
#define BOOST_BEAST_WEBSOCKET_STREAM_FWD_HPP
|
||||
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
namespace websocket {
|
||||
|
||||
template<
|
||||
class NextLayer>
|
||||
class stream;
|
||||
|
||||
} // websocket
|
||||
} // beast
|
||||
} // boost
|
||||
|
||||
#endif
|
@ -31,6 +31,7 @@ add_executable (tests-beast-websocket
|
||||
rfc6455.cpp
|
||||
role.cpp
|
||||
stream.cpp
|
||||
stream_fwd.cpp
|
||||
teardown.cpp
|
||||
utf8_checker.cpp
|
||||
write.cpp
|
||||
|
@ -21,6 +21,7 @@ local SOURCES =
|
||||
rfc6455.cpp
|
||||
role.cpp
|
||||
stream.cpp
|
||||
stream_fwd.cpp
|
||||
teardown.cpp
|
||||
utf8_checker.cpp
|
||||
write.cpp
|
||||
|
11
test/beast/websocket/stream_fwd.cpp
Normal file
11
test/beast/websocket/stream_fwd.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (w) 2016-2017 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
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/websocket/stream_fwd.hpp>
|
Reference in New Issue
Block a user