Christopher Reichert ae0608bc21 Bump yesod-websockets version. | il y a 9 ans | |
---|---|---|
.. | ||
Yesod | il y a 9 ans | |
ChangeLog.md | il y a 9 ans | |
LICENSE | il y a 10 ans | |
README.md | il y a 10 ans | |
Setup.hs | il y a 10 ans | |
chat-with-timeout-control.hs | il y a 10 ans | |
chat.hs | il y a 10 ans | |
sample.hs | il y a 9 ans | |
yesod-websockets.cabal | il y a 9 ans |
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
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