Christopher Reichert ae0608bc21 Bump yesod-websockets version. пре 9 година
..
Yesod 5443b38525 yesod-websockets: accept websocket requests with a subprotocol пре 9 година
ChangeLog.md 8893393ec9 Version bump пре 9 година
LICENSE 13976667ed Initial yesod-websockets пре 10 година
README.md ae6a03d36f Update README in yesod-websockets to address the timeout issue. пре 10 година
Setup.hs 13976667ed Initial yesod-websockets пре 10 година
chat-with-timeout-control.hs 8caa9f087b Create chat-with-timeout-control.hs пре 10 година
chat.hs 9eeefca36a Added chat example пре 10 година
sample.hs 118d33d3b4 Fix compilation error in yesod-websockets/sample.hs. пре 9 година
yesod-websockets.cabal ae0608bc21 Bump yesod-websockets version. пре 9 година

README.md

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:

https://github.com/jaspervdj/websockets/commit/536849d1f3265076f61edefd5c89e84e82a99c71