Safe Haskell | Safe-Infered |
---|
WASH.CGI.CGIOutput
Description
Defines the class CGIOutput
of data types that can be output from a CGI
program.
- itell :: Handle -> WithHTML x IO () -> IO a
- class CGIOutput a where
- cgiPut' :: Handle -> a -> IO ()
- cgiPutList :: Handle -> [a] -> IO ()
- cgiPut :: CGIOutput a => Handle -> a -> IO ()
- hPutElement :: Handle -> ELEMENT_ -> IO ()
- hPutListChar :: Handle -> String -> IO ()
- hPutFileReference :: Handle -> FileReference -> IO ()
- hPutResponseFileReference :: Handle -> ResponseFileReference -> IO ()
- hPutStatus :: Handle -> Status -> IO ()
- hPutLocation :: Handle -> Location -> IO ()
- hPutFreeForm :: Handle -> FreeForm -> IO ()
Documentation
itell :: Handle -> WithHTML x IO () -> IO aSource
(internal) takes an output handle and a document without forms and input widgets, displays the document with suitable mime type and encoding, and terminates the program
hPutElement :: Handle -> ELEMENT_ -> IO ()Source
hPutListChar :: Handle -> String -> IO ()Source
hPutFileReference :: Handle -> FileReference -> IO ()Source
hPutResponseFileReference :: Handle -> ResponseFileReference -> IO ()Source
hPutStatus :: Handle -> Status -> IO ()Source
hPutLocation :: Handle -> Location -> IO ()Source
hPutFreeForm :: Handle -> FreeForm -> IO ()Source