yesod-websockets: WebSockets support for Yesod

[ library, mit, web ] [ Propose Tags ]

API docs and the README are available at http://www.stackage.org/package/yesod-websockets


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1, 0.1.1.1, 0.1.1.2, 0.2.0, 0.2.1, 0.2.1.1, 0.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.2.5, 0.2.6, 0.3.0, 0.3.0.1, 0.3.0.2, 0.3.0.3
Change log ChangeLog.md
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
Maintainer michael@snoyman.com
Category Web
Home page https://github.com/yesodweb/yesod
Source repo head: git clone https://github.com/yesodweb/yesod
Uploaded by MichaelSnoyman at 2021-04-03T19:36:51Z
Distributions LTSHaskell:0.3.0.3, NixOS:0.3.0.3, Stackage:0.3.0.3
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 12374 total (58 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-0.3.0.3

[back to package description]

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