From c96abf819e20057e736afa7f22f5e4a2846abd85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 24 Nov 2014 16:00:33 +0200 Subject: Docs clarification when returning a list of ws frames --- doc/src/guide/ws_handlers.ezdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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` -- cgit v1.2.3