Added IsRedirect property to the HttpResponse class

master
sta 11 years ago
parent 696287e25a
commit e7c4b1416a

@ -92,6 +92,12 @@ namespace WebSocketSharp
}
}
public bool IsRedirect {
get {
return _code == "302";
}
}
public bool IsUnauthorized {
get {
return _code == "401";

Loading…
Cancel
Save