Added IsMoved property to the HttpResponse class

This commit is contained in:
sta 2014-12-12 12:36:50 +09:00
parent e7c4b1416a
commit 0e5a35edf7

View File

@ -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";