1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-12-30 13:03:01 +02:00
parent efe953583a
commit c80c5903ab
4 changed files with 77 additions and 17 deletions

View File

@@ -515,6 +515,15 @@ var (
// A shortcut of the `cache#Cache304`.
Cache304 = cache.Cache304
// CookieOverride is a CookieOption which overrides the cookie explicitly to the given "cookie".
//
// A shortcut for the `context#CookieOverride`.
CookieOverride = context.CookieOverride
// CookieDomain is a CookieOption which sets the cookie's Domain field.
// If empty then the current domain is used.
//
// A shortcut for the `context#CookieDomain`.
CookieDomain = context.CookieDomain
// CookieAllowReclaim accepts the Context itself.
// If set it will add the cookie to (on `CookieSet`, `CookieSetKV`, `CookieUpsert`)
// or remove the cookie from (on `CookieRemove`) the Request object too.