Module
Affjax.RequestBody
- Package
- purescript-affjax
- Repository
- slamdata/purescript-affjax
#RequestBody Source
data RequestBody
Represents data for an HTTP request that will be included in the request body.
Constructors
#arrayView Source
arrayView :: forall a. ArrayView a -> RequestBody
#blob Source
blob :: Blob -> RequestBody
#document Source
document :: Document -> RequestBody
#string Source
string :: String -> RequestBody
#formData Source
formData :: FormData -> RequestBody
#json Source
json :: Json -> RequestBody
#toMediaType Source
toMediaType :: RequestBody -> Maybe MediaType