def cookie.live

bend-kit-http@0.38.2.0 · http.bend:1837

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-time@0.3.0.0/time.bend as Time

1837# Alive at now: no expiry, or an expiry after now.
1838def cookie.live(+now: Time.Instant, c: Cookie) -> Bool:
1839  Cookie{name, value, domain, host_only, path, secure, http_only, same_site, expiry} = c
1840  cookie.live.at(now, expiry)

Uses (4)

Used by (2)