packages feed

wai-websockets-2.0.0: wai-websockets.cabal

Name:                wai-websockets
Version:             2.0.0
Synopsis:            Provide a bridge betweeen WAI and the websockets package.
License:             MIT
License-file:        LICENSE
Author:              Michael Snoyman, Jasper Van der Jeugt, Ting-Yen Lai
Maintainer:          michael@snoyman.com
Homepage:            http://github.com/yesodweb/wai
Category:            Web, Yesod
Build-Type:          Simple
Cabal-Version:       >=1.8
Stability:           Stable
Description:         This is primarily intended for use with Warp and its settingsIntercept.

extra-source-files: static/client.js, static/client.html, static/screen.css

flag example

Library
  Build-Depends:     base               >= 3        && < 5
                   , bytestring         >= 0.9.1.4
                   , conduit            >= 0.5      && < 1.1
                   , wai                >= 2.0      && < 2.1
                   , blaze-builder      >= 0.2.1.4  && < 0.4
                   , case-insensitive   >= 0.2
                   , network            >= 2.2.1.5
                   , transformers       >= 0.2      && < 0.4
                   , websockets         >= 0.8
                   , warp               >= 2.0      && < 2.1
                   , io-streams         >= 1.1      && < 1.2
  Exposed-modules:   Network.Wai.Handler.WebSockets
  ghc-options:       -Wall

Executable           wai-websockets-example
  if flag(example)
    buildable: True
  else
    buildable: False
  Build-Depends:     base               >= 3 && < 5
                   , conduit
                   , wai-websockets
                   , websockets
                   , warp
                   , wai
                   , wai-app-static
                   , bytestring
                   , case-insensitive
                   , blaze-builder
                   , transformers
                   , network
                   , text
                   , file-embed
                   , io-streams

  ghc-options:       -Wall -threaded
  main-is:           server.lhs

source-repository head
  type:     git
  location: git://github.com/yesodweb/wai.git