Module

Bucketchain.SimpleAPI.Response

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

#Response Source

newtype Response

The type for response used in Servable implementation.

Instances

#StatusCode Source

#response Source

response :: StatusCode -> Foreign -> Response

Constructor function of Response.

#responseStatus Source

responseStatus :: Response -> StatusCode

This is for internal. Do not use it.

#responseBody Source

responseBody :: Response -> Foreign

This is for internal. Do not use it.

#fromResponses Source

fromResponses :: Array (Maybe Response) -> Response

This is for internal. Do not use it.

#invalidRequestResponse Source

invalidRequestResponse :: Response

This is for internal. Do not use it.

#unauthorizedResponse Source

unauthorizedResponse :: Response

This is for internal. Do not use it.