yesod-websockets: WebSockets support for Yesod

[ library, mit, web ] [ Propose Tags ]

API docs and the README are available at

[Skip to Readme]
Versions, 0.1.1,,, 0.2.0, 0.2.1,, 0.2.2, 0.2.3, 0.2.4,, 0.2.5, 0.2.6, 0.3.0
Change log
Dependencies base (>=4.5 && <5), conduit (>=1.3), mtl, transformers (>=0.2), unliftio, wai, wai-websockets (>=2.1), websockets (>=0.10), yesod-core (>=1.6) [details]
License MIT
Author Michael Snoyman
Category Web
Home page
Source repo head: git clone
Uploaded by MichaelSnoyman at Fri Feb 2 09:44:30 UTC 2018
Distributions LTSHaskell:0.3.0, NixOS:0.3.0, Stackage:0.3.0, openSUSE:0.3.0
Downloads 4741 total (30 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-02-02 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for yesod-websockets-0.3.0

[back to package description]


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: