Module

Bucketchain.SimpleAPI.Response

#Response

newtype Response

The type for response used in Servable implementation.

Instances

#StatusCode

#response

response :: StatusCode -> Foreign -> Response

Constructor function of Response.

#responseStatus

responseStatus :: Response -> StatusCode

This is for internal. Do not use it.

#responseBody

responseBody :: Response -> Foreign

This is for internal. Do not use it.

#fromResponses

fromResponses :: Array (Maybe Response) -> Response

This is for internal. Do not use it.

#invalidRequestResponse

invalidRequestResponse :: Response

This is for internal. Do not use it.

#unauthorizedResponse

unauthorizedResponse :: Response

This is for internal. Do not use it.

Modules