Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
Request | |
|
data RequestData Source #
NoData | |
StringData JSString | |
TypedArrayData (forall e. SomeTypedArray e Immutable) | |
FormData [(JSString, FormDataVal)] |
class ResponseType a where Source #
getResponseTypeString :: Proxy a -> JSString Source #
wrapResponseType :: JSVal -> a Source #
Instances
m ~ Immutable => ResponseType JSString Source # | |
Defined in JavaScript.Web.XMLHttpRequest getResponseTypeString :: Proxy JSString -> JSString Source # wrapResponseType :: JSVal -> JSString Source # | |
ResponseType ArrayBuffer Source # | |
Defined in JavaScript.Web.XMLHttpRequest getResponseTypeString :: Proxy ArrayBuffer -> JSString Source # wrapResponseType :: JSVal -> ArrayBuffer Source # | |
ResponseType Blob Source # | |
Defined in JavaScript.Web.XMLHttpRequest getResponseTypeString :: Proxy Blob -> JSString Source # wrapResponseType :: JSVal -> Blob Source # | |
m ~ Immutable => ResponseType (SomeValue m) Source # | |
Defined in JavaScript.Web.XMLHttpRequest getResponseTypeString :: Proxy (SomeValue m) -> JSString Source # wrapResponseType :: JSVal -> SomeValue m Source # |
data FormDataVal Source #
Instances
Eq XHRError Source # | |
Data XHRError Source # | |
Defined in JavaScript.Web.XMLHttpRequest gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> XHRError -> c XHRError gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c XHRError toConstr :: XHRError -> Constr dataTypeOf :: XHRError -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c XHRError) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c XHRError) gmapT :: (forall b. Data b => b -> b) -> XHRError -> XHRError gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> XHRError -> r gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> XHRError -> r gmapQ :: (forall d. Data d => d -> u) -> XHRError -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> XHRError -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> XHRError -> m XHRError gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> XHRError -> m XHRError gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> XHRError -> m XHRError | |
Show XHRError Source # | |
Generic XHRError Source # | |
Exception XHRError Source # | |
Defined in JavaScript.Web.XMLHttpRequest toException :: XHRError -> SomeException # fromException :: SomeException -> Maybe XHRError # displayException :: XHRError -> String # | |
type Rep XHRError Source # | |
Defined in JavaScript.Web.XMLHttpRequest type Rep XHRError = D1 (MetaData "XHRError" "JavaScript.Web.XMLHttpRequest" "ghcjs-base-0.2.0.0-inplace" False) (C1 (MetaCons "XHRError" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "XHRAborted" PrefixI False) (U1 :: * -> *)) |