aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-18 12:06:53 +0200
committerLoïc Hoguin <[email protected]>2011-04-18 12:06:53 +0200
commitecf117b37508f864d084ed6560f95e32b9ede1ef (patch)
treed5d0ff53352cd5ec8d1fc81ca5b21872fafeb56b
parent02d825e003c9b9013406f67ba7f9dba5dd241b18 (diff)
downloadcowboy-ecf117b37508f864d084ed6560f95e32b9ede1ef.tar.gz
cowboy-ecf117b37508f864d084ed6560f95e32b9ede1ef.tar.bz2
cowboy-ecf117b37508f864d084ed6560f95e32b9ede1ef.zip
Rename dispatch_rules() into dispatch_rule().
-rw-r--r--include/types.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/types.hrl b/include/types.hrl
index fe4e6db..d250f69 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -22,6 +22,6 @@
-type path_tokens() :: list(nonempty_string()).
-type match() :: '_' | '*' | list(string() | '_' | atom()).
--type dispatch_rules() :: {Host::match(), list({Path::match(),
+-type dispatch_rule() :: {Host::match(), list({Path::match(),
Handler::module(), Opts::term()})}.
--type dispatch() :: list(dispatch_rules()).
+-type dispatch() :: list(dispatch_rule()).