aboutsummaryrefslogtreecommitdiffstats
path: root/include/http.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/http.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/http.hrl')
-rw-r--r--include/http.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 6e46d5f..391e79a 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -46,13 +46,13 @@
method = 'GET' :: http_method(),
version = {1, 1} :: http_version(),
peer = undefined :: undefined | {Address::inet:ip_address(), Port::port_number()},
- host = undefined :: undefined | path_tokens(),
+ host = undefined :: undefined | cowboy_dispatcher:path_tokens(),
raw_host = undefined :: undefined | string(),
- path = undefined :: undefined | '*' | path_tokens(),
+ path = undefined :: undefined | '*' | cowboy_dispatcher:path_tokens(),
raw_path = undefined :: undefined | string(),
qs_vals = undefined :: undefined | list({Name::string(), Value::string() | true}),
raw_qs = undefined :: undefined | string(),
- bindings = undefined :: undefined | bindings(),
+ bindings = undefined :: undefined | cowboy_dispatcher:bindings(),
headers = [] :: http_headers(),
%% cookies = undefined :: undefined | http_cookies() %% @todo