reflex-backend-wai: Reflex interface to `wai`

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Reflex interface to wai.

A minimal example:

{-# LANGUAGE OverloadedStrings #-}
module Main where

import Network.Wai (responseLBS)
import Network.HTTP.Types.Status (status200)

import Reflex.Backend.Warp (runAppForever)

main :: IO ()
main =
  runAppForever 8080 $ \eReq -> do
    let eRes = responseLBS status200 [] "Hi" <$ eReq
    pure eRes

Properties

Versions 0.1.0.0, 0.1.0.0
Change log ChangeLog.md
Dependencies base (>=4.9 && <4.13), containers (>=0.5 && <0.7), http-types (>=0.9.1 && <0.13), mtl (>=2.2.1 && <2.3), reflex (>=0.5 && <0.6), reflex-backend-wai, reflex-basic-host (>=0.1 && <0.2), stm (>=2.4.4 && <2.6), wai (>=3.2.1 && <3.3), warp (>=3.2.13 && <3.3) [details]
License BSD-3-Clause
Author Dave Laing
Maintainer dave.laing.80@gmail.com
Category FRP, Web
Uploaded by qfpl at 2019-04-08T04:22:09Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees