From e374205aec25f76bdc0b27d6f242a10b488cd99b Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 24 Oct 2017 15:57:06 +0900 Subject: [PATCH] [Modify] Add it --- websocket-sharp/WebSocket.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 65b723fd..f3f79136 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -1441,6 +1441,14 @@ namespace WebSocketSharp fatal (message, (ushort) code); } + private ClientSslConfiguration getSslConfiguration () + { + if (_sslConfig == null) + _sslConfig = new ClientSslConfiguration (_uri.DnsSafeHost); + + return _sslConfig; + } + private void init () { _compression = CompressionMethod.None;