Safe HaskellNone

IHP.Controller.RequestContext

Synopsis

Documentation

type Respond = Response -> IO ResponseReceived Source #

getConfig :: (?context :: context, ConfigProvider context) => FrameworkConfig Source #

Get the current frameworkConfig

data RequestBody Source #

Constructors

FormBody 

Fields

JSONBody

The jsonPayload is the decoded json request. We keep a copy of the original json request in rawPayload, so that you can e.g. get a HMAC signature from the request