0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Docs clarification when returning a list of ws frames

This commit is contained in:
Loïc Hoguin 2014-11-24 16:00:33 +02:00
parent 2a2279adda
commit c96abf819e

View file

@ -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`