[Modify] Add it

master
sta 7 years ago
parent 62fba4875b
commit a04bc16cde

@ -906,6 +906,22 @@ namespace WebSocketSharp.Net
: toResponseStringVersion1 ();
}
internal static bool TryCreateCookie (
string name, string value, out Cookie result
)
{
result = null;
try {
result = new Cookie (name, value);
}
catch {
return false;
}
return true;
}
#endregion
#region Public Methods

Loading…
Cancel
Save