Просмотр исходного кода

Docs clarification when returning a list of ws frames

Loïc Hoguin 10 лет назад
Родитель
Сommit
c96abf819e
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      doc/src/guide/ws_handlers.ezdoc

+ 2 - 1
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`