Copyright | (c) Bjorn Bringert 2004-2005, (c) Lemmih 2006, (c) Michael Snoyman 2010 |
---|---|
License | BSD-style (see the file libraries/network/LICENSE) |
Maintainer | michael@snoyman.com |
Stability | experimental |
Portability | non-portable (uses FFI) |
Safe Haskell | None |
Language | Haskell98 |
Interface for FastCGI http://fastcgi.com/, using the fcgiapp API. Totally ripped off by Michael Snoyman to work with Hack, then WAI.
- run :: Application -> IO ()
- runSendfile :: ByteString -> Application -> IO ()
- runFork :: Maybe ByteString -> (IO () -> IO a) -> Int -> Application -> IO ()
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