[Modify] Polish it
This commit is contained in:
parent
2cdc1ee42b
commit
91e22c1138
@ -1392,7 +1392,9 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public static bool IsRestricted (string headerName, bool response)
|
public static bool IsRestricted (string headerName, bool response)
|
||||||
{
|
{
|
||||||
return isRestricted (checkName (headerName), response);
|
headerName = checkName (headerName);
|
||||||
|
|
||||||
|
return isRestricted (headerName, response);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user