Added HasConnectionClose property to the HttpResponse class
This commit is contained in:
parent
a8bb74c394
commit
a23bd04bdc
@ -86,6 +86,12 @@ namespace WebSocketSharp
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasConnectionClose {
|
||||
get {
|
||||
return Headers.Contains ("Connection", "close");
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsProxyAuthenticationRequired {
|
||||
get {
|
||||
return _code == "407";
|
||||
|
Loading…
Reference in New Issue
Block a user