aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.hrl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-18 13:24:27 +0200
committerLoïc Hoguin <[email protected]>2011-04-18 13:24:27 +0200
commit2beb5c8206cf33f04ef778ebc67839c1bd71add8 (patch)
tree886f908b1a16e7de0aecbf2bf25f6b405f8b67ee /include/types.hrl
parent6712eaa5c8196dc1ba179257d050b131959c2a1b (diff)
downloadcowboy-2beb5c8206cf33f04ef778ebc67839c1bd71add8.tar.gz
cowboy-2beb5c8206cf33f04ef778ebc67839c1bd71add8.tar.bz2
cowboy-2beb5c8206cf33f04ef778ebc67839c1bd71add8.zip
Move the dispatcher related types into cowboy_dispatcher.
Diffstat (limited to 'include/types.hrl')
-rw-r--r--include/types.hrl8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/types.hrl b/include/types.hrl
index 5ee9357..8842a8e 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -17,11 +17,3 @@
-type posix() :: atom().
-type port_number() :: 0..65535.
-
--type bindings() :: list({Key::atom(), Value::string()}).
--type path_tokens() :: list(nonempty_string()).
--type match_rule() :: '_' | '*' | list(string() | '_' | atom()).
-
--type dispatch_rule() :: {Host::match_rule(), list({Path::match_rule(),
- Handler::module(), Opts::term()})}.
--type dispatch_rules() :: list(dispatch_rule()).