From 9e129a9f9e8101f5a2cf777ec5c432c1badfbad7 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 13 Jun 2020 17:56:41 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/WebHeaderCollection.cs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index cf78c44b..4b9cc2d6 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -902,27 +902,6 @@ namespace WebSocketSharp.Net return value; } - private void doWithCheckingState ( - Action action, string name, string value, bool setState - ) - { - var headerType = getHeaderType (name); - - if (headerType == HttpHeaderType.Response) { - doWithCheckingState (action, name, value, true, setState); - - return; - } - - if (headerType == HttpHeaderType.Request) { - doWithCheckingState (action, name, value, false, setState); - - return; - } - - action (name, value); - } - private void doWithCheckingState ( Action action, string name,