Safe Haskell | None |
---|---|
Language | Haskell2010 |
Responses from handlers.
Synopsis
- data Response = Response {}
- toWaiResponse :: Response -> Response
Basic Types
An HTTP response sent from the server to the client.
The response contains a status, optional headers and an optional body payload.
Response | |
|
Instances
Eq Response Source # | |
Ord Response Source # | |
Defined in WebGear.Core.Response | |
Show Response Source # | |
Trait Status Response Source # | |
Trait (JSONBody t) Response Source # | |
Trait (Body t) Response Source # | |
Trait (Header 'Required 'Strict name val) Response Source # | |
Trait (Header 'Optional 'Strict name val) Response Source # | |
type Attribute Status Response Source # | |
Defined in WebGear.Core.Trait.Status | |
type Attribute (JSONBody t) Response Source # | |
Defined in WebGear.Core.Trait.Body | |
type Attribute (Body t) Response Source # | |
Defined in WebGear.Core.Trait.Body | |
type Attribute (Header 'Required 'Strict name val) Response Source # | |
type Attribute (Header 'Optional 'Strict name val) Response Source # | |
toWaiResponse :: Response -> Response Source #
Generate a WAI response