aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-10-01 02:32:20 +0200
committerLoïc Hoguin <[email protected]>2011-10-01 02:32:20 +0200
commitce26d7090b178c84d1dde1be3f4dc892138b8667 (patch)
treed30657b7e1e0902cc3438441fad50349b2cc460d /include
parent6572d4d374abb548cf4659b5423c7f785762e04b (diff)
downloadcowboy-ce26d7090b178c84d1dde1be3f4dc892138b8667.tar.gz
cowboy-ce26d7090b178c84d1dde1be3f4dc892138b8667.tar.bz2
cowboy-ce26d7090b178c84d1dde1be3f4dc892138b8667.zip
Rename the type cowboy_dispatcher:path_tokens/0 to :tokens/0
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 7e0380d..2364daa 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -47,12 +47,12 @@
method = 'GET' :: http_method(),
version = {1, 1} :: http_version(),
peer = undefined :: undefined | {inet:ip_address(), inet:ip_port()},
- host = undefined :: undefined | cowboy_dispatcher:path_tokens(),
- host_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
+ host = undefined :: undefined | cowboy_dispatcher:tokens(),
+ host_info = undefined :: undefined | cowboy_dispatcher:tokens(),
raw_host = undefined :: undefined | binary(),
port = undefined :: undefined | inet:ip_port(),
- path = undefined :: undefined | '*' | cowboy_dispatcher:path_tokens(),
- path_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
+ path = undefined :: undefined | '*' | cowboy_dispatcher:tokens(),
+ path_info = undefined :: undefined | cowboy_dispatcher:tokens(),
raw_path = undefined :: undefined | binary(),
qs_vals = undefined :: undefined | list({binary(), binary() | true}),
raw_qs = undefined :: undefined | binary(),