aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_websocket.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-12-23 15:33:21 +0100
committerLoïc Hoguin <[email protected]>2016-12-23 15:33:21 +0100
commitb13c07932dfe76dfee29a0c5ce1166423faee77d (patch)
tree6aa315896ac054f16126532e4ba5de1b9982eedb /doc/src/manual/cowboy_websocket.asciidoc
parent98ae01b599fcaa91f0f66ca1218cdf6c3e28d3c4 (diff)
downloadcowboy-b13c07932dfe76dfee29a0c5ce1166423faee77d.tar.gz
cowboy-b13c07932dfe76dfee29a0c5ce1166423faee77d.tar.bz2
cowboy-b13c07932dfe76dfee29a0c5ce1166423faee77d.zip
Update the cowboy_handler manual
Also fixes a small mistake in cowboy_websocket.
Diffstat (limited to 'doc/src/manual/cowboy_websocket.asciidoc')
-rw-r--r--doc/src/manual/cowboy_websocket.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_websocket.asciidoc b/doc/src/manual/cowboy_websocket.asciidoc
index a884811..3ae811a 100644
--- a/doc/src/manual/cowboy_websocket.asciidoc
+++ b/doc/src/manual/cowboy_websocket.asciidoc
@@ -52,7 +52,7 @@ websocket_init(State) -> CallResult %% optional
websocket_handle(InFrame, State) -> CallResult
websocket_info(Info, State) -> CallResult
-terminate(Reason, undefined, State) -> any() %% optional
+terminate(Reason, undefined, State) -> ok %% optional
Req :: cowboy_req:req()
State :: any()