vibe-d v0.9.4 (2021-09-30T12:24:53Z)
Home
Dub
Repo
Cookie.expire
index
vibe
http
common
Cookie
Sets the "expires" and "max-age" attributes to limit the life time of the cookie.
void
expire
(Duration max_age)
class
Cookie
@
safe
void
expire
(
Duration
max_age
)
void
expire
(SysTime expire_time)
Meta
Source
See Implementation
index
vibe
http
common
Cookie
enums
Encoding
SameSite
functions
expire
setValue
writeString
properties
domain
expires
httpOnly
maxAge
path
rawValue
sameSite
secure
value
Sets the "expires" and "max-age" attributes to limit the life time of the cookie.