| Portability | non-portable (uses Control.Monad.State) |
|---|---|
| Stability | experimental |
| Maintainer | bjorn@bringert.net |
Network.CGI.Compat
Description
Compatibility functions for the old Network.CGI API.
Documentation
wrapper :: ([(String, String)] -> IO Html) -> IO ()Source
Compatibility wrapper for the old CGI interface. Output the output from a function from CGI environment and input variables to an HTML document.
Compatibility wrapper for the old CGI interface.
Runs a simple CGI server.
Note: if using Windows, you might need to wrap Network.withSocketsDo around main.