Module

Affjax.ResponseFormat

Package
purescript-affjax
Repository
slamdata/purescript-affjax

#ResponseFormat Source

data ResponseFormat a

Used to represent how a HTTP response body should be interpreted.

Constructors

#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