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

WASH.CGI.RawCGI

Synopsis

Documentation

data CGIOption Source

Constructors

NoPort

do not include port number in generated URLs

AutoPort

include automatically generated port number in generated URLs (default)

Port Int

use this port number in generated URLs

NoHttps

do not attempt to detect Https

AutoHttps

autodetect Https by checking for port number 443 and env var HTTPS (default)

FullURL

generate full URL including scheme, host, and port

PartialURL

generate absolute path URL, only (default)

SessionMode 

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.