View Source hackney_cookie (hackney v1.23.0)
Summary
Functions
Parse a cookie header string and return a list of key/values.
Convert a cookie name, value and options to its iodata form.
Types
-type cookie_option() :: {max_age, non_neg_integer()} | {domain, binary()} | {path, binary()} | {secure, boolean()} | {http_only, boolean()}.
-type cookie_opts() :: [cookie_option()].
Functions
-spec setcookie(iodata(), iodata(), cookie_opts()) -> binary().