Documentation

Hale.Cookie.Web.Cookie

@[reducible, inline]

A parsed cookie key-value pair.

Equations
Instances For

    Parse a Cookie header value into key-value pairs. Cookie header format: "name1=value1; name2=value2" $$\text{parseCookies} : \text{String} \to \text{List CookiePair}$$

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Render a list of cookie pairs into a Cookie header value. $$\text{renderCookies} : \text{List CookiePair} \to \text{String}$$

      Equations
      Instances For

        SameSite attribute for Set-Cookie.

        Instances For

          Set-Cookie configuration.

          Instances For

            Render a SetCookie as a Set-Cookie header value. $$\text{renderSetCookie} : \text{SetCookie} \to \text{String}$$

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Parse a Set-Cookie header value into a SetCookie structure. Only parses the name=value part; attributes are parsed best-effort. $$\text{parseSetCookie} : \text{String} \to \text{Option SetCookie}$$

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For