From 276b18929d21a448489bb8f1e12c030b53b22f69 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 4 Mar 2019 21:06:37 +0900 Subject: [PATCH] [Modify] Add it --- websocket-sharp/Net/Cookie.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs index d7f994c6..cfc9dc65 100644 --- a/websocket-sharp/Net/Cookie.cs +++ b/websocket-sharp/Net/Cookie.cs @@ -694,6 +694,17 @@ namespace WebSocketSharp.Net ^ (m << 20 | m >> 12); } + private void init (string name, string value, string path, string domain) + { + _name = name; + _value = value; + _path = path; + _domain = domain; + + _expires = DateTime.MinValue; + _timeStamp = DateTime.Now; + } + private string toResponseStringVersion0 () { var buff = new StringBuilder (64);