 | WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell. | Contents | Index |
|
|
|
| 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 | | | encrypt :: String -> String -> String | | | decrypt :: String -> String -> String |
|
|
| Documentation |
|
| module WASH.CGI.RawCGITypes |
|
| initEnv :: Handle -> Handle -> IO CGIEnv |
| 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 () |
| Main entry point for low-level CGI scripts. Takes a list of CGIOption and
a CGIProgram and runs it as a CGI script.
|
|
| 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 |
|
| encrypt :: String -> String -> String |
|
| decrypt :: String -> String -> String |
|
| Produced by Haddock version 0.8 |