forked from boostorg/beast
beast support default completion & rebind.
buffers_generator uses default_completion. websocket::stream has a rebinding constructor. ssl_stream has a rebind_executor member. basic_stream has rebinding constructor.
This commit is contained in:
1 parent
d3b82a2fb0
commit
1fc340713c
9 files changed
+112
-43
No files matched your search
@@ -58,6 +58,15 @@ stream(Args&&... args)
|
||||
max_control_frame_size);
|
||||
}
|
||||
|
||||
template<class NextLayer, bool deflateSupported>
|
||||
template<class Other>
|
||||
stream<NextLayer, deflateSupported>::
|
||||
stream(stream<Other> && other)
|
||||
: impl_(boost::make_shared<impl_type>(std::move(other.next_layer())))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
template<class NextLayer, bool deflateSupported>
|
||||
auto
|
||||
stream<NextLayer, deflateSupported>::
|
||||
|
||||
Reference in new issue
Block a user