def cookie.expires

emerging-ezhttp@0.21.0.0 · src/cookie.bend:27

import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie
import Base

27# replace Expires
28def cookie.expires(c: Cookie, when: String) -> Cookie:
29  match c:
30    case Cookie{name, value, expires, max_age, domain, path, secure, http_only,
31      same_site, host_only}:
32      Cookie{name, value, when, max_age, domain, path, secure, http_only,
33        same_site, host_only}

Uses (2)

Used by (1)