|
|
|
@ -45,10 +45,11 @@ namespace WebSocketSharp
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#region Private Fields
|
|
|
|
#region Private Fields
|
|
|
|
|
|
|
|
|
|
|
|
private string _method;
|
|
|
|
private CookieCollection _cookies;
|
|
|
|
private string _uri;
|
|
|
|
private string _method;
|
|
|
|
private bool _websocketRequest;
|
|
|
|
private string _uri;
|
|
|
|
private bool _websocketRequestSet;
|
|
|
|
private bool _websocketRequest;
|
|
|
|
|
|
|
|
private bool _websocketRequestSet;
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
@ -86,7 +87,10 @@ namespace WebSocketSharp
|
|
|
|
|
|
|
|
|
|
|
|
public CookieCollection Cookies {
|
|
|
|
public CookieCollection Cookies {
|
|
|
|
get {
|
|
|
|
get {
|
|
|
|
return Headers.GetCookies (false);
|
|
|
|
if (_cookies == null)
|
|
|
|
|
|
|
|
_cookies = Headers.GetCookies (false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return _cookies;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|