forked from boostorg/beast
1 parent
677a3e0179
commit
bd69638e9d
9 files changed
+178
-14
No files matched your search
@@ -304,6 +304,22 @@ text() const
|
||||
return impl_->wr_opcode == detail::opcode::text;
|
||||
}
|
||||
|
||||
template<class NextLayer, bool deflateSupported>
|
||||
void
|
||||
stream<NextLayer, deflateSupported>::
|
||||
compress(bool value)
|
||||
{
|
||||
impl_->wr_compress_opt = value;
|
||||
}
|
||||
|
||||
template<class NextLayer, bool deflateSupported>
|
||||
bool
|
||||
stream<NextLayer, deflateSupported>::
|
||||
compress() const
|
||||
{
|
||||
return impl_->wr_compress_opt;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// _Fail the WebSocket Connection_
|
||||
|
||||
Reference in new issue
Block a user