vibe-d v0.9.8-alpha.3 (2023-10-20T08:14:46Z)
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)
void
expire
(SysTime expire_time)
class
Cookie
@
safe
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.