Skip to content

Commit

Permalink
enabled mask for websocket encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Aug 21, 2024
1 parent b981bf9 commit 7a809ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dependencies.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<SuperSocketVersion>2.0.0-beta.24</SuperSocketVersion>
<SuperSocketVersion>2.0.0-beta.25</SuperSocketVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/WebSocket4Net/WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class WebSocket : EasyClient<WebSocketPackage>, IWebSocket

private readonly EndPoint _remoteEndPoint;

private static readonly IPackageEncoder<WebSocketPackage> _packageEncoder = new WebSocketEncoder();
private static readonly IPackageEncoder<WebSocketPackage> _packageEncoder = new WebSocketMaskedEncoder();

private List<string> _subProtocols;

Expand Down

0 comments on commit 7a809ef

Please sign in to comment.