[Modify] Polish it
This commit is contained in:
parent
8e3c6c5855
commit
d64ee7533c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user