View Source hackney_util (hackney v1.23.0)

Summary

Functions

filter a proplists and only keep allowed keys
Start the given applications if they were not already started.
set the default options in a proplists if not defined

Functions

filter_options(Tail, AllowedKeys, Acc)

-spec filter_options([{atom(), any()} | {raw, any(), any(), any()}], [atom()], Acc) -> Acc
                        when Acc :: [any()].
filter a proplists and only keep allowed keys

is_ipv6(Host)

maybe_apply_defaults(Rest, Options)

merge_opts(Rest, Options)

mod_metrics()

privdir()

require(Rest)

-spec require([module()]) -> ok.
Start the given applications if they were not already started.

set_option_default(Opts, Key, Value)

-spec set_option_default(Opts, atom(), any()) -> Opts when Opts :: [{atom(), any()}].
set the default options in a proplists if not defined

to_atom(V)

to_int(S)