Module
Affjax.ResponseFormat
- Package
- purescript-affjax
- Repository
- purescript-contrib/purescript-affjax
#ResponseFormat Source
#toResponseType Source
toResponseType :: forall a. ResponseFormat a -> String
Converts a Response a
into a string representation of the response type
that it represents.
#toMediaType Source
toMediaType :: forall a. ResponseFormat a -> Maybe MediaType