Module
Affjax.ResponseFormat
- Package
- purescript-affjax
- Repository
- slamdata/purescript-affjax
#ResponseFormat Source
#toResponseType Source
toResponseType :: forall a. ResponseFormat a -> StringConverts a Response a into a string representation of the response type
that it represents.
#toMediaType Source
toMediaType :: forall a. ResponseFormat a -> Maybe MediaType#ResponseFormatError Source
data ResponseFormatErrorUsed when an error occurs when attempting to decode into a particular response format. The error that occurred when decoding is included, along with the value that decoding was attempted on.