Packages

A simple and easy to use API created on top of the Mist web server

Current section

Files

Jump to
howdy src howdy@context@header.erl
Raw

src/howdy@context@header.erl

-module(howdy@context@header).
-compile(no_auto_import).
-export([get_value/2]).
-spec get_value(howdy@context:context(any()), binary()) -> {ok, binary()} |
{error, nil}.
get_value(Context, Key) ->
gleam@http@request:get_header(erlang:element(3, Context), Key).