|
Network.CGI.Monad | Portability | non-portable | Stability | experimental | Maintainer | bjorn@bringert.net |
|
|
|
|
|
Description |
Internal stuff that most people shouldn't have to use.
This module mostly deals with the
internals of the CGIT monad transformer.
|
|
Synopsis |
|
|
|
|
CGI monad class
|
|
|
The class of CGI monads. Most CGI actions can be run in
any monad which is an instance of this class, which means that
you can use your own monad transformers to add extra functionality.
| | Methods | | Add a response header.
| | | Get something from the CGI request.
|
| | Instances | |
|
|
CGI monad transformer
|
|
|
The CGIT monad transformer.
| Constructors | | Instances | |
|
|
|
A simple CGI monad with just IO.
|
|
|
Run a CGI action.
|
|
Request info
|
|
|
The input to a CGI action.
| Constructors | | Instances | |
|
|
Error handling
|
|
|
Throw an exception in a CGI monad. The monad is required to be
a MonadIO, so that we can use throwIO to guarantee ordering.
|
|
|
Catches any expection thrown by a CGI action, and uses the given
exception handler if an exception is thrown.
|
|
|
Catches any exception thrown by an CGI action, and returns either
the exception, or if no exception was raised, the result of the action.
|
|
|
Deprecated version of catchCGI. Use catchCGI instead.
|
|
Produced by Haddock version 0.9 |