|
HSP.Env.Request | Portability | Haskell 98 | Stability | experimental | Maintainer | Niklas Broberg, nibro@cs.chalmers.se |
|
|
|
Description |
An interface to a request object as held in the HSP environment.
|
|
Synopsis |
|
|
|
Documentation |
|
|
A record representing an interface to an HTTP request. This allows us to use
many different underlying types for these requests, all we need is to supply
conversions to this interface. This is useful for when we run as CGI, or when
we run inside a server app.
| Constructors | |
|
|
|
Get a parameter from the request query string (GET) or body (POST).
| Returns Nothing if the parameter is not set.
|
|
|
Unsafe version of getParameter, essentially fromJust.(getParameter r) but throws
a ParameterLookupFailed exception if the parameter is not set.
|
|
|
Return a value instead of a string.
|
|
|
Return a list of values read from their string representations.
|
|
|
Unsafe version of readParameter
|
|
Produced by Haddock version 2.4.2 |