[Modify] Polish it

This commit is contained in:
sta 2020-07-22 20:27:31 +09:00
parent d64ee7533c
commit eacf404f6c

View File

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