diff options
Diffstat (limited to 'include/types.hrl')
-rw-r--r-- | include/types.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/types.hrl b/include/types.hrl index 8bb94fb..5ee9357 100644 --- a/include/types.hrl +++ b/include/types.hrl @@ -20,8 +20,8 @@ -type bindings() :: list({Key::atom(), Value::string()}). -type path_tokens() :: list(nonempty_string()). --type match() :: '_' | '*' | list(string() | '_' | atom()). +-type match_rule() :: '_' | '*' | list(string() | '_' | atom()). --type dispatch_rule() :: {Host::match(), list({Path::match(), +-type dispatch_rule() :: {Host::match_rule(), list({Path::match_rule(), Handler::module(), Opts::term()})}. -type dispatch_rules() :: list(dispatch_rule()). |