|
|
|
| Description |
| Low-level interface to CGI scripting.
|
|
| Synopsis |
|
| module WASH.CGI.RawCGITypes | | | initEnv :: Handle -> Handle -> IO CGIEnv | | | start :: CGIOptions -> (CGIInfo -> CGIParameters -> IO ()) -> IO () | | | startEnv :: CGIEnv -> CGIOptions -> (CGIInfo -> CGIParameters -> IO ()) -> IO () | | | resolveFiles :: [(String, CGIRawValue)] -> IO CGIParameters | | | parseCookies :: String -> [(String, String)] | | | dropSpecialParameters :: [(String, a)] -> [(String, a)] | | | decodeMultiPart :: String -> String -> [(String, CGIRawValue)] | | | extractContents :: String -> String -> Maybe (String, String) | | | extractBoundary :: String -> Maybe String | | | advanceIC :: String -> String -> Maybe String | | | parameterLines :: String -> [String] | | | decodeLine :: String -> (String, CGIRawValue) | | | assocParm :: String -> CGIParameters -> Maybe CGIValue | | | assocParmL :: String -> CGIParameters -> [CGIValue] | | | assocParmR :: String -> CGIParameters -> CGIParameters | | | assoc :: Eq a => a -> [(a, b)] -> Maybe b | | | fieldNames :: CGIParameters -> [String] | | | generateKey :: IO (Maybe (Integer, String, String)) | | | extendRandomly :: [Char] -> [Char] | | | nrNonces :: Int | | | makeEncoder :: Maybe (Integer, String, String) -> String -> String | | | decode :: String -> IO String | | | decrypt :: String -> String -> String | | | encrypt :: String -> String -> String |
|
|
| Documentation |
|
| module WASH.CGI.RawCGITypes |
|
|
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.
|
|
|
| Main entry point for low-level CGI scripts. Takes a list of CGIOption and
a CGIProgram and runs it as a CGI script.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.6.0 |