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.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index d0aa3c6..f8e0b6a 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -158,8 +158,7 @@
| {non_neg_integer(), fun(() -> {sent, non_neg_integer()})},
%% Functions.
- onresponse = undefined :: undefined | fun((cowboy_http:status(),
- cowboy_http:headers(), Req) -> Req),
+ onresponse = undefined :: undefined | cowboy_protocol:onresponse_fun(),
urldecode :: {fun((binary(), T) -> binary()), T}
}).