|
|
- -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, []}]).
|