|
|
|
@ -96,6 +96,7 @@ namespace WebSocketSharp.Net
|
|
|
|
private string _port;
|
|
|
|
private string _port;
|
|
|
|
private int[] _ports;
|
|
|
|
private int[] _ports;
|
|
|
|
private static readonly char[] _reservedCharsForValue;
|
|
|
|
private static readonly char[] _reservedCharsForValue;
|
|
|
|
|
|
|
|
private string _sameSite;
|
|
|
|
private bool _secure;
|
|
|
|
private bool _secure;
|
|
|
|
private DateTime _timeStamp;
|
|
|
|
private DateTime _timeStamp;
|
|
|
|
private string _value;
|
|
|
|
private string _value;
|
|
|
|
@ -350,6 +351,16 @@ namespace WebSocketSharp.Net
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
internal string SameSite {
|
|
|
|
|
|
|
|
get {
|
|
|
|
|
|
|
|
return _sameSite;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set {
|
|
|
|
|
|
|
|
_sameSite = value;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
#region Public Properties
|
|
|
|
@ -768,6 +779,9 @@ namespace WebSocketSharp.Net
|
|
|
|
if (!_domain.IsNullOrEmpty ())
|
|
|
|
if (!_domain.IsNullOrEmpty ())
|
|
|
|
buff.AppendFormat ("; Domain={0}", _domain);
|
|
|
|
buff.AppendFormat ("; Domain={0}", _domain);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!_sameSite.IsNullOrEmpty ())
|
|
|
|
|
|
|
|
buff.AppendFormat ("; SameSite={0}", _sameSite);
|
|
|
|
|
|
|
|
|
|
|
|
if (_secure)
|
|
|
|
if (_secure)
|
|
|
|
buff.Append ("; Secure");
|
|
|
|
buff.Append ("; Secure");
|
|
|
|
|
|
|
|
|
|
|
|
|