Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 

18 lignes
855 B

-record(req, {method :: elli:http_method(),
scheme :: undefined | binary(),
host :: undefined | binary(),
port :: undefined | 1..65535,
path :: [binary()],
args :: [{binary(), any()}],
raw_path :: binary(),
version :: elli_http:version(),
headers :: elli:headers(),
original_headers :: elli:headers(),
body :: elli:body(),
pid :: pid(),
socket :: undefined | elli_tcp:socket(),
callback :: elli_handler:callback()
}).
-define(EXAMPLE_CONF, [{callback, elli_example_callback},
{callback_args, []}]).