ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

JavaScript.Web.XMLHttpRequest

Documentation

xhr :: forall a. ResponseType a => Request -> IO (Response a) Source

data RequestData Source

Constructors

NoData 
StringData JSString 
TypedArrayData (forall e. SomeTypedArray e Immutable) 
FormData [(JSString, FormDataVal)] 

class ResponseType a where Source

Instances

(~) (MutabilityType *) m (Immutable *) => ResponseType JSString Source 
ResponseType Blob Source 
ResponseType ArrayBuffer Source 
(~) (MutabilityType *) m (Immutable *) => ResponseType (SomeValue * m) Source