[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user