[Modify] Add it
This commit is contained in:
parent
33fb0edf09
commit
f5cde7ef62
@ -870,6 +870,16 @@ namespace WebSocketSharp.Net
|
|||||||
&& _version == cookie._version;
|
&& _version == cookie._version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal bool EqualsWithoutValueAndVersion (Cookie cookie)
|
||||||
|
{
|
||||||
|
var caseSensitive = StringComparison.InvariantCulture;
|
||||||
|
var caseInsensitive = StringComparison.InvariantCultureIgnoreCase;
|
||||||
|
|
||||||
|
return _name.Equals (cookie._name, caseInsensitive)
|
||||||
|
&& _path.Equals (cookie._path, caseSensitive)
|
||||||
|
&& _domain.Equals (cookie._domain, caseInsensitive);
|
||||||
|
}
|
||||||
|
|
||||||
internal string ToRequestString (Uri uri)
|
internal string ToRequestString (Uri uri)
|
||||||
{
|
{
|
||||||
if (_name.Length == 0)
|
if (_name.Length == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user