yesod-websockets

WebSockets support for Yesod https://github.com/yesodweb/yesod

Version on this page:0.2.5
LTS Haskell 8.15:0.2.6
Stackage Nightly 2017-05-28:0.2.6
Latest on Hackage:0.2.6
MIT licensed by Michael Snoyman
Maintained by michael@snoyman.com

Module documentation for 0.2.5

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

Changes

0.2.6

  • Fix warnings

0.2.5

  • Allow to start websockets with custom ConnectionOptions with webSocketsOptions and webSocketsOptionsWith

0.2.4.1

  • Support for websockets 0.10

0.2.3

  • receiveDataMessageE and sendDataMessageE

0.2.2

  • Add exceptional websocket commands #772
comments powered byDisqus