aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.hrl')
-rw-r--r--include/types.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/types.hrl b/include/types.hrl
index faee24e..17882cc 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -28,8 +28,8 @@
-type path_tokens() :: list(string()).
-type match() :: '_' | list(string() | '_' | atom()).
--type dispatch_rules() :: {Host::match(), Path::match(),
- Handler::module(), Opts::term()}.
+-type dispatch_rules() :: {Host::match(), list({Path::match(),
+ Handler::module(), Opts::term()})}.
-type dispatch() :: list(dispatch_rules()).
-type http_method() :: 'OPTIONS' | 'GET' | 'HEAD'