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:
parent
2a2279adda
commit
c96abf819e
1 changed files with 2 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue