[Modify] Remove it
This commit is contained in:
parent
9e129a9f9e
commit
8862928af5
@ -902,25 +902,6 @@ namespace WebSocketSharp.Net
|
||||
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 (
|
||||
Action <string, string> action, string name, string value
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user