From 3f3bbb39b3a3eff76561575a75aa06df112c40dd Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 3 Jan 2022 19:16:38 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Server/HttpServer.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/websocket-sharp/Server/HttpServer.cs b/websocket-sharp/Server/HttpServer.cs index 8692f77d..5b9c150d 100644 --- a/websocket-sharp/Server/HttpServer.cs +++ b/websocket-sharp/Server/HttpServer.cs @@ -788,25 +788,6 @@ namespace WebSocketSharp.Server return _state == ServerState.Ready || _state == ServerState.Stop; } - private bool canSet (out string message) - { - message = null; - - if (_state == ServerState.Start) { - message = "The server has already started."; - - return false; - } - - if (_state == ServerState.ShuttingDown) { - message = "The server is shutting down."; - - return false; - } - - return true; - } - private bool checkCertificate (out string message) { message = null;