Portability | non-portable (uses FFI) |
---|---|
Stability | experimental |
Maintainer | michael@snoyman.com |
Safe Haskell | Safe-Infered |
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.