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