vibe-d ~master (2022-11-16T10:14:41Z)
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.