Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-02 | Add more frame types available in websocket replies | Loïc Hoguin | |
We can now reply empty close, ping and pong frames, or close frames with a payload. This means that we can send a frame and then close the connection in a single operation. If a close packet is sent, the connection is closed immediately, even if there was frames that remained to be sent. Cowboy will silently drop any extra frames in the list given as a reply. | |||
2012-10-11 | Allow websocket handlers to reply more than one frame | Loïc Hoguin | |
Instead of returning {text, Data}, you can now return [{text, Data}, {text, Data2}, ...]. |