cookie_option() = {max_age, non_neg_integer()} | {domain, binary()} | {path, binary()} | {secure, boolean()} | {http_only, boolean()}
cookie_opts() = [cookie_option()]
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()}] | {error, badarg}
Parse a cookie header string and return a list of key/values.
setcookie(Name::iodata(), Value::iodata(), Opts::cookie_opts()) -> binary()
Convert a cookie name, value and options to its iodata form.
Generated by EDoc