Added IsMoved property to the HttpResponse class

master
sta 11 years ago
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…
Cancel
Save