cookie_opts() = #{domain => binary(), http_only => boolean(), max_age => non_neg_integer(), path => binary(), same_site => lax | strict, secure => boolean()}
| parse_cookie/1 | Parse a cookie header string and return a list of key/values. |
| setcookie/3 | Convert a cookie name, value and options to its iodata form. |
parse_cookie(Cookie::binary()) -> [{binary(), binary()}]
Parse a cookie header string and return a list of key/values.
setcookie(Name::iodata(), Value::iodata(), Opts::cookie_opts()) -> iolist()
Convert a cookie name, value and options to its iodata form.
Generated by EDoc