IHP Api Reference
Safe HaskellSafe-Inferred

IHP.Controller.RequestContext

Documentation

type Respond = Response -> IO ResponseReceived Source #

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