Module

Bucketchain.SimpleAPI.Body

Package
purescript-bucketchain-simple-api
Repository
Bucketchain/purescript-bucketchain-simple-api

#Body Source

newtype Body a

The type for request handlers with request body.

You can use ReadForeign instances as type variable a.

Constructors

#decodeBody Source

decodeBody :: forall a. ReadForeign a => Http -> String -> Either MultipleErrors a

This is for internal. Do not use it.