[Modify] Polish it
This commit is contained in:
parent
ec2e24aa21
commit
37cef1c773
@ -915,7 +915,9 @@ namespace WebSocketSharp.Net
|
|||||||
_state = response ? HttpHeaderType.Response : HttpHeaderType.Request;
|
_state = response ? HttpHeaderType.Response : HttpHeaderType.Request;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doWithoutCheckingName (Action <string, string> action, string name, string value)
|
private void doWithoutCheckingName (
|
||||||
|
Action <string, string> action, string name, string value
|
||||||
|
)
|
||||||
{
|
{
|
||||||
checkRestricted (name);
|
checkRestricted (name);
|
||||||
action (name, checkValue (value));
|
action (name, checkValue (value));
|
||||||
|
Loading…
Reference in New Issue
Block a user