wai-handler-fastcgi-3.0.0.1: Wai handler to fastcgi

Copyright(c) Bjorn Bringert 2004-2005, (c) Lemmih 2006, (c) Michael Snoyman 2010
LicenseBSD-style (see the file libraries/network/LICENSE)
Maintainermichael@snoyman.com
Stabilityexperimental
Portabilitynon-portable (uses FFI)
Safe HaskellNone
LanguageHaskell98

Network.Wai.Handler.FastCGI

Description

Interface for FastCGI http://fastcgi.com/, using the fcgiapp API. Totally ripped off by Michael Snoyman to work with Hack, then WAI.

Synopsis

Documentation

run :: Application -> IO () Source

Handle FastCGI requests in an infinite loop.

runSendfile :: ByteString -> Application -> IO () Source

Handle FastCGI requests in an infinite loop. For a server which supports the X-Sendfile header.

runFork :: Maybe ByteString -> (IO () -> IO a) -> Int -> Application -> IO () Source