Added HasConnectionClose property to the HttpResponse class

master
sta 11 years ago
parent a8bb74c394
commit a23bd04bdc

@ -86,6 +86,12 @@ namespace WebSocketSharp
} }
} }
public bool HasConnectionClose {
get {
return Headers.Contains ("Connection", "close");
}
}
public bool IsProxyAuthenticationRequired { public bool IsProxyAuthenticationRequired {
get { get {
return _code == "407"; return _code == "407";

Loading…
Cancel
Save