Added IsMoved property to the HttpResponse class
This commit is contained in:
parent
e7c4b1416a
commit
0e5a35edf7
@ -86,6 +86,12 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool IsMoved {
|
||||||
|
get {
|
||||||
|
return _code == "301";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool IsProxyAuthenticationRequired {
|
public bool IsProxyAuthenticationRequired {
|
||||||
get {
|
get {
|
||||||
return _code == "407";
|
return _code == "407";
|
||||||
|
Loading…
Reference in New Issue
Block a user