Module
Network.HTTP.Affjax.Request
- Package
- purescript-affjax
- Repository
- slamdata/purescript-affjax
#RequestContent Source
data RequestContent :: Type
Type representing all content types that be sent via XHR (ArrayBufferView, Blob, Document, String, FormData).
Instances
#Requestable Source
class Requestable a where
A 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 RequestContent
Requestable (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 Blob
Requestable Document
Requestable String
Requestable Json
Requestable FormData
Requestable FormURLEncoded
Requestable Unit