aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_sub_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_sub_protocol.erl')
-rw-r--r--src/cowboy_sub_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_sub_protocol.erl b/src/cowboy_sub_protocol.erl
index 0b231d3..babc6f2 100644
--- a/src/cowboy_sub_protocol.erl
+++ b/src/cowboy_sub_protocol.erl
@@ -31,7 +31,7 @@
-callback upgrade(Req, Env, module(), any())
-> {ok, Req, Env}
- | {suspend, module(), atom(), any()}
+ | {suspend, module(), atom(), [any()]}
| {halt, Req}
| {error, cowboy_http:status(), Req}
when Req::cowboy_req:req(), Env::cowboy_middleware:env().