[Modify] Polish it
This commit is contained in:
parent
15344b9665
commit
63a5e9c11b
@ -114,9 +114,10 @@ namespace WebSocketSharp.Net
|
|||||||
{
|
{
|
||||||
var headerType = _headerType & HttpHeaderType.Restricted;
|
var headerType = _headerType & HttpHeaderType.Restricted;
|
||||||
|
|
||||||
return headerType == HttpHeaderType.Restricted
|
if (headerType != HttpHeaderType.Restricted)
|
||||||
? (response ? IsResponse : IsRequest)
|
return false;
|
||||||
: false;
|
|
||||||
|
return response ? IsResponse : IsRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user