yesod-websockets: WebSockets support for Yesod

[ library, mit, web ] [ Propose Tags ]

API docs and the README are available at

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS], 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.10 && <5), conduit (>=1.3), mtl, transformers (>=0.2), unliftio, 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 2021-04-03T19:36:51Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 11953 total (49 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-04-03 [all 1 reports]

Readme for yesod-websockets-

[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: