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]
Versions 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
Change log ChangeLog.md
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
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 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 4707 total (42 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yesod-websockets-0.3.0

[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