[Modify] Polish it

This commit is contained in:
sta 2020-07-22 20:25:07 +09:00
parent 8e3c6c5855
commit d64ee7533c

View File

@ -83,7 +83,9 @@ namespace WebSocketSharp.Net
public bool IsRequest { public bool IsRequest {
get { get {
return (_headerType & HttpHeaderType.Request) == HttpHeaderType.Request; var headerType = _headerType & HttpHeaderType.Request;
return headerType == HttpHeaderType.Request;
} }
} }