yesod/yesod-websockets
John Lenz 5443b38525 yesod-websockets: accept websocket requests with a subprotocol
The websockets library allows passing an AcceptRequest when
upgrading the request to websockets, which at the moment only
contains the subprotocol to use with the client.  The list of
subprotocols that the client is prepared to speak is in the
RequestHead.
2015-08-28 16:34:09 -05:00
..
Yesod yesod-websockets: accept websocket requests with a subprotocol 2015-08-28 16:34:09 -05:00
ChangeLog.md Version bump 2015-07-23 06:18:37 +03:00
chat-with-timeout-control.hs Create chat-with-timeout-control.hs 2014-10-06 20:56:08 -04:00
chat.hs Added chat example 2014-03-07 09:16:14 +02:00
LICENSE Initial yesod-websockets 2014-03-06 18:00:46 +02:00
README.md Update README in yesod-websockets to address the timeout issue. 2014-12-15 21:59:57 -06:00
sample.hs Fix compilation error in yesod-websockets/sample.hs. 2015-07-15 11:28:07 -05:00
Setup.hs Initial yesod-websockets 2014-03-06 18:00:46 +02:00
yesod-websockets.cabal Version bump 2015-07-23 06:18:37 +03:00

REQUIRED PACKAGES

The example, chat.hs, requires stm-lifted and conduit-combinators which are not dependencies of yesod-websockets. Installing the extra packages needed for the chat.hs example can be installed with the command:

$ cabal install stm-lifted conduit-combinators

TIMEOUTS

Versions of yesod-websockets prior to 0.2.1 may experience session timeouts after about 30 seconds of inactivity. Refer to the patch in the websockets library which addresses this issue:

536849d1f3