[Modify] Polish it

master
sta 5 years ago
parent d64ee7533c
commit eacf404f6c

@ -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;
} }
} }

Loading…
Cancel
Save