mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 14:49:20 +02:00
Small ws codec fix (#1465)
* Small ws codec fix * Update actix-http/Changes.md Co-authored-by: Huston Bokinsky <huston@deepgram.com>
This commit is contained in:
@ -137,7 +137,7 @@ impl Encoder for Codec {
|
||||
Parser::write_message(
|
||||
dst,
|
||||
&data[..],
|
||||
OpCode::Binary,
|
||||
OpCode::Text,
|
||||
false,
|
||||
!self.flags.contains(Flags::SERVER),
|
||||
)
|
||||
@ -151,7 +151,7 @@ impl Encoder for Codec {
|
||||
Parser::write_message(
|
||||
dst,
|
||||
&data[..],
|
||||
OpCode::Text,
|
||||
OpCode::Binary,
|
||||
false,
|
||||
!self.flags.contains(Flags::SERVER),
|
||||
)
|
||||
|
Reference in New Issue
Block a user