From 0e78745c1f62973f9a940cfff8172762bbe2ce3b Mon Sep 17 00:00:00 2001 From: Alecio Furanze Date: Sat, 4 Nov 2023 08:28:16 +0200 Subject: [PATCH] Remove not initialized warning --- src/WebSocket/WebSocketClient.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WebSocket/WebSocketClient.cs b/src/WebSocket/WebSocketClient.cs index f6f920b9..4b45330a 100644 --- a/src/WebSocket/WebSocketClient.cs +++ b/src/WebSocket/WebSocketClient.cs @@ -29,6 +29,8 @@ public class WebSocketClient : IWebsocketClient public WebSocketClient() { + Cookies = Array.Empty(); + Headers = new Headers(); _bufferList = new List<(byte[] buffer, BufferType bufferType)>(); _bufferLock = new object(); _tryConnecting = false;