def cookie.age

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

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

35# replace Max-Age
36def cookie.age(c: Cookie, age: String) -> Cookie:
37  match c:
38    case Cookie{name, value, expires, max_age, domain, path, secure, http_only,
39      same_site, host_only}:
40      Cookie{name, value, expires, age, domain, path, secure, http_only,
41        same_site, host_only}

Uses (2)

Used by (1)