aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index e522907..d0f2a35 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -174,7 +174,7 @@
%% Functions.
onresponse = undefined :: undefined | already_called
- | cowboy_protocol:onresponse_fun()
+ | cowboy:onresponse_fun()
}).
-opaque req() :: #http_req{}.
@@ -194,7 +194,7 @@
binary(), binary(), binary(),
cowboy:http_version(), cowboy:http_headers(), binary(),
inet:port_number() | undefined, binary(), boolean(), boolean(),
- undefined | cowboy_protocol:onresponse_fun())
+ undefined | cowboy:onresponse_fun())
-> req().
new(Socket, Transport, Peer, Method, Path, Query,
Version, Headers, Host, Port, Buffer, CanKeepalive,