Module
Network.HTTP.Affjax.Request
- Package
- purescript-affjax
- Repository
- slamdata/purescript-affjax
#RequestContent Source
data RequestContent :: TypeType representing all content types that be sent via XHR (ArrayBufferView, Blob, Document, String, FormData).
Instances
#Requestable Source
class Requestable a whereA class for types that can be converted to values that can be sent with
XHR requests. An optional mime-type can be specified for a default
Content-Type header.
Members
toRequest :: a -> Tuple (Maybe MediaType) RequestContent
Instances
Requestable RequestContentRequestable (ArrayView Int8)Requestable (ArrayView Int16)Requestable (ArrayView Int32)Requestable (ArrayView Uint8)Requestable (ArrayView Uint16)Requestable (ArrayView Uint32)Requestable (ArrayView Uint8Clamped)Requestable (ArrayView Float32)Requestable (ArrayView Float64)Requestable BlobRequestable DocumentRequestable StringRequestable JsonRequestable FormDataRequestable FormURLEncodedRequestable Unit