| Portability | non-portable (uses FFI) |
|---|---|
| Stability | experimental |
| Maintainer | michael@snoyman.com |
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.
- run :: Application -> IO ()
- runSendfile :: String -> Application -> IO ()
- runFork :: Maybe String -> (IO () -> IO a) -> Int -> Application -> IO ()
Documentation
run :: Application -> IO ()Source
Handle FastCGI requests in an infinite loop.
runSendfile :: String -> Application -> IO ()Source
Handle FastCGI requests in an infinite loop. For a server which supports the X-Sendfile header.