def cookie.max_age

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

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

2209# §5.6.2: DIGIT*, or "-" and DIGIT*. Anything else is ignored.
2210def cookie.max_age(+v: String) -> Maybe<&2, U32>:
2211  cookie.max_age.secs(v, String.starts_with(v, "-"))

Uses (5)

Used by (1)