You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
855 B

  1. -record(req, {method :: elli:http_method(),
  2. scheme :: undefined | binary(),
  3. host :: undefined | binary(),
  4. port :: undefined | 1..65535,
  5. path :: [binary()],
  6. args :: [{binary(), any()}],
  7. raw_path :: binary(),
  8. version :: elli_http:version(),
  9. headers :: elli:headers(),
  10. original_headers :: elli:headers(),
  11. body :: elli:body(),
  12. pid :: pid(),
  13. socket :: undefined | elli_tcp:socket(),
  14. callback :: elli_handler:callback()
  15. }).
  16. -define(EXAMPLE_CONF, [{callback, elli_example_callback},
  17. {callback_args, []}]).