[Modify] Remove it

This commit is contained in:
sta 2020-06-13 17:57:38 +09:00
parent 9e129a9f9e
commit 8862928af5

View File

@ -902,25 +902,6 @@ namespace WebSocketSharp.Net
return value; return value;
} }
private void doWithCheckingState (
Action <string, string> action,
string name,
string value,
bool response,
bool setState
)
{
checkState (response);
action (name, value);
setState = setState && _state == HttpHeaderType.Unspecified;
if (!setState)
return;
_state = response ? HttpHeaderType.Response : HttpHeaderType.Request;
}
private void doWithoutCheckingName ( private void doWithoutCheckingName (
Action <string, string> action, string name, string value Action <string, string> action, string name, string value
) )