@hackage yesod-websockets0.3.0.3
WebSockets support for Yesod
Categories
License
MIT
Maintainer
michael@snoyman.com
Links
Versions
Installation
Dependencies (8)
- base >=4.10 && <5
- conduit >=1.3
- mtl
- transformers >=0.2
- unliftio
- wai-websockets >=2.1 Show all…
Dependents (4)
@hackage/yesod-websockets-extra, @hackage/acme-everything, @hackage/yesod-autoreload, @hackage/front
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