def cookie.alive

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

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

521# Max-Age against an age in seconds. Expires is not compared to a clock.
522def cookie.alive(max_age: String, age: Nat) -> Bool:
523  cookie.alive.of(age, Http.digits.read(max_age))

Uses (5)

Used by (0)

No other definition uses this definition.