def cookie.site.lax

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

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

99# Lax / Strict / None, canonical spelling (RFC 6265bis SameSite)
100def cookie.site.lax(+low: String, hit: Bool) -> String:
101  match hit:
102    case True{}:
103      "Lax"
104    case False{}:
105      cookie.site.strict(low, String.eq(low, "strict"))

Uses (4)

Used by (1)