[Modify] Remove it

This commit is contained in:
sta 2020-05-13 19:36:44 +09:00
parent 357fd2ec82
commit 4cc0194312

View File

@ -782,18 +782,6 @@ namespace WebSocketSharp.Net
base.Add (name, checkValue (value));
}
private static HttpHeaderType checkHeaderType (string name)
{
var info = getHeaderInfo (name);
return info == null
? HttpHeaderType.Unspecified
: info.IsRequest && !info.IsResponse
? HttpHeaderType.Request
: !info.IsRequest && info.IsResponse
? HttpHeaderType.Response
: HttpHeaderType.Unspecified;
}
private static string checkName (string name)
{
if (name == null)