diff options
author | Loïc Hoguin <[email protected]> | 2014-11-24 16:00:33 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-11-24 16:00:33 +0200 |
commit | c96abf819e20057e736afa7f22f5e4a2846abd85 (patch) | |
tree | e37ac8ae5d9987efbd9b1f61d844b231cd48e1b6 | |
parent | 2a2279adda1381d41a5a893cfc1e69483a26971b (diff) | |
download | cowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.tar.gz cowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.tar.bz2 cowboy-c96abf819e20057e736afa7f22f5e4a2846abd85.zip |
Docs clarification when returning a list of ws frames
-rw-r--r-- | doc/src/guide/ws_handlers.ezdoc | 3 |
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` |