[Modify] Rename it

master
sta 5 years ago
parent 4d01d325ec
commit 8e3c6c5855

@ -75,21 +75,21 @@ namespace WebSocketSharp.Net
}
}
public bool IsRequest {
public HttpHeaderType HeaderType {
get {
return (_headerType & HttpHeaderType.Request) == HttpHeaderType.Request;
return _headerType;
}
}
public bool IsResponse {
public bool IsRequest {
get {
return (_headerType & HttpHeaderType.Response) == HttpHeaderType.Response;
return (_headerType & HttpHeaderType.Request) == HttpHeaderType.Request;
}
}
public HttpHeaderType Type {
public bool IsResponse {
get {
return _headerType;
return (_headerType & HttpHeaderType.Response) == HttpHeaderType.Response;
}
}

Loading…
Cancel
Save