Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

17 linhas
832 B

3 anos atrás
  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}, {callback_args, []}]).