diff options
author | Loïc Hoguin <[email protected]> | 2011-04-18 12:20:52 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-04-18 12:20:52 +0200 |
commit | 6712eaa5c8196dc1ba179257d050b131959c2a1b (patch) | |
tree | 5b56dcc92665b0aaee94bc78e681c199f7ff8c3d /include | |
parent | ef2673b61eb640768c8e83c5c6847b50255b07a6 (diff) | |
download | cowboy-6712eaa5c8196dc1ba179257d050b131959c2a1b.tar.gz cowboy-6712eaa5c8196dc1ba179257d050b131959c2a1b.tar.bz2 cowboy-6712eaa5c8196dc1ba179257d050b131959c2a1b.zip |
Rename match() into match_rule().
Diffstat (limited to 'include')
-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()). |