0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Rename dispatch_rules() into dispatch_rule().

This commit is contained in:
Loïc Hoguin 2011-04-18 12:06:53 +02:00
parent 02d825e003
commit ecf117b375

View file

@ -22,6 +22,6 @@
-type path_tokens() :: list(nonempty_string()). -type path_tokens() :: list(nonempty_string()).
-type match() :: '_' | '*' | list(string() | '_' | atom()). -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()})}. Handler::module(), Opts::term()})}.
-type dispatch() :: list(dispatch_rules()). -type dispatch() :: list(dispatch_rule()).