Skip to content

Commit

Permalink
Docs clarification when returning a list of ws frames
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Nov 24, 2014
1 parent 2a2279a commit c96abf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/src/guide/ws_handlers.ezdoc
Expand Up @@ -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`
Expand Down

0 comments on commit c96abf8

Please sign in to comment.