aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-11-24 16:00:33 +0200
committerLoïc Hoguin <[email protected]>2014-11-24 16:00:33 +0200
commitc96abf819e20057e736afa7f22f5e4a2846abd85 (patch)
treee37ac8ae5d9987efbd9b1f61d844b231cd48e1b6 /doc
parent2a2279adda1381d41a5a893cfc1e69483a26971b (diff)
downloadcowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.tar.gz
cowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.tar.bz2
cowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.zip
Docs clarification when returning a list of ws frames
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/ws_handlers.ezdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/guide/ws_handlers.ezdoc b/doc/src/guide/ws_handlers.ezdoc
index 811e021..4cdf526 100644
--- a/doc/src/guide/ws_handlers.ezdoc
+++ b/doc/src/guide/ws_handlers.ezdoc
@@ -109,7 +109,8 @@ websocket_info(_Info, Req, State) ->
:: Sending frames to the socket
Cowboy allows sending either a single frame or a list of
-frames to the socket. Any frame can be sent: text, binary, ping,
+frames to the socket, in which case the frames are sent
+sequentially. Any frame can be sent: text, binary, ping,
pong or close frames.
The following example sends three frames using a single `reply`