您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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