Mojito.Headers.keys

You're seeing just the function keys, go back to Mojito.Headers module for more information.

Specs

keys(headers()) :: [String.t()]

Returns an ordered list of the header names from the given headers. Header names are returned in lowercase.

Example:

iex> headers = [
...>   {"header1", "foo"},
...>   {"header2", "bar"},
...>   {"Header1", "baz"}
...> ]
iex> Mojito.Headers.keys(headers)
["header1", "header2"]