aboutsummaryrefslogtreecommitdiff
path: root/lib/Net.Http/src/IConnectionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net.Http/src/IConnectionInfo.cs')
-rw-r--r--lib/Net.Http/src/IConnectionInfo.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/Net.Http/src/IConnectionInfo.cs b/lib/Net.Http/src/IConnectionInfo.cs
index 6cdb480..7598864 100644
--- a/lib/Net.Http/src/IConnectionInfo.cs
+++ b/lib/Net.Http/src/IConnectionInfo.cs
@@ -133,14 +133,7 @@ namespace VNLib.Net.Http
/// Adds a new cookie to the response. If a cookie with the same name and value
/// has been set, the old cookie is replaced with the new one.
/// </summary>
- /// <param name="name">Cookie name/id</param>
- /// <param name="value">Value to be stored in cookie</param>
- /// <param name="domain">Domain for cookie to operate</param>
- /// <param name="path">Path to store cookie</param>
- /// <param name="Expires">Timespan representing how long the cookie should exist</param>
- /// <param name="sameSite">Samesite attribute, Default = Lax</param>
- /// <param name="httpOnly">Specify the HttpOnly flag</param>
- /// <param name="secure">Specify the Secure flag</param>
- void SetCookie(string name, string value, string? domain, string? path, TimeSpan Expires, CookieSameSite sameSite, bool httpOnly, bool secure);
+ /// <param name="cookie">A reference to the cookie to set on the current response</param>
+ void SetCookie(in HttpResponseCookie cookie);
}
} \ No newline at end of file