vibe-http v1.0.0 (2024-02-17T13:45:36Z)
Home
Dub
Repo
Cookie.expire
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
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.