From 7a809efb69398c339fa5f719712a2e20fec6faad Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Tue, 20 Aug 2024 21:25:54 -0700 Subject: [PATCH] enabled mask for websocket encoding --- Dependencies.props | 2 +- src/WebSocket4Net/WebSocket.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dependencies.props b/Dependencies.props index 7e2e95f..3984733 100644 --- a/Dependencies.props +++ b/Dependencies.props @@ -1,5 +1,5 @@ - 2.0.0-beta.24 + 2.0.0-beta.25 \ No newline at end of file diff --git a/src/WebSocket4Net/WebSocket.cs b/src/WebSocket4Net/WebSocket.cs index b32ada5..1748fba 100644 --- a/src/WebSocket4Net/WebSocket.cs +++ b/src/WebSocket4Net/WebSocket.cs @@ -36,7 +36,7 @@ public class WebSocket : EasyClient, IWebSocket private readonly EndPoint _remoteEndPoint; - private static readonly IPackageEncoder _packageEncoder = new WebSocketEncoder(); + private static readonly IPackageEncoder _packageEncoder = new WebSocketMaskedEncoder(); private List _subProtocols;