Add stream_fwd.hpp

This commit is contained in:
Vinnie Falco
2017-12-29 09:25:18 -08:00
parent eddadacba7
commit 5dcef24ea7
7 changed files with 43 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Version 151:
WebSocket:
* Control callback is invoked on the execution context
* Add stream_fwd.hpp
--------------------------------------------------------------------------------

View File

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

View File

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

View 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

View File

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

View File

@ -21,6 +21,7 @@ local SOURCES =
rfc6455.cpp
role.cpp
stream.cpp
stream_fwd.cpp
teardown.cpp
utf8_checker.cpp
write.cpp

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