WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.CGI.RawCGIInternal

Description

Low-level interface to CGI scripting.

Synopsis

Documentation

initEnv :: Handle -> Handle -> IO CGIEnvSource

Decoding of CGIOption.

Decoding of CGIOption.

Decoding of CGIOption.

Decoding of CGIOption.

Initial and default content type of a link submission

Construct a CGI environment from the input and output handle of the current connection and the CGI variables in the environment.

start :: CGIOptions -> (CGIInfo -> CGIParameters -> IO ()) -> IO ()Source

Main entry point for low-level CGI scripts. Takes a list of CGIOption and a CGIProgram and runs it as a CGI script.

assoc :: Eq a => a -> [(a, b)] -> Maybe bSource