[Modify] Add it
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user