Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- error :: MonadDOM m => m Response
- error_ :: MonadDOM m => m ()
- redirect :: (MonadDOM m, ToJSString url) => url -> Maybe Word -> m Response
- redirect_ :: (MonadDOM m, ToJSString url) => url -> Maybe Word -> m ()
- arrayBuffer :: MonadDOM m => Response -> m ArrayBuffer
- arrayBuffer_ :: MonadDOM m => Response -> m ()
- blob :: MonadDOM m => Response -> m Blob
- blob_ :: MonadDOM m => Response -> m ()
- formData :: MonadDOM m => Response -> m Blob
- formData_ :: MonadDOM m => Response -> m ()
- json :: MonadDOM m => Response -> m JSVal
- json_ :: MonadDOM m => Response -> m ()
- text :: (MonadDOM m, FromJSString result) => Response -> m result
- text_ :: MonadDOM m => Response -> m ()
- clone :: MonadDOM m => Response -> m Response
- clone_ :: MonadDOM m => Response -> m ()
- getType :: MonadDOM m => Response -> m ResponseType
- getUrl :: (MonadDOM m, FromJSString result) => Response -> m result
- getRedirected :: MonadDOM m => Response -> m Bool
- getStatus :: MonadDOM m => Response -> m Word
- getOk :: MonadDOM m => Response -> m Bool
- getStatusText :: (MonadDOM m, FromJSString result) => Response -> m result
- getHeaders :: MonadDOM m => Response -> m Headers
- getBody :: MonadDOM m => Response -> m (Maybe ReadableStream)
- getBodyUnsafe :: (MonadDOM m, HasCallStack) => Response -> m ReadableStream
- getBodyUnchecked :: MonadDOM m => Response -> m ReadableStream
- getBodyUsed :: MonadDOM m => Response -> m Bool
- newtype Response = Response {
- unResponse :: JSVal
- gTypeResponse :: JSM GType
Documentation
arrayBuffer :: MonadDOM m => Response -> m ArrayBuffer Source #
arrayBuffer_ :: MonadDOM m => Response -> m () Source #
getStatusText :: (MonadDOM m, FromJSString result) => Response -> m result Source #
getBodyUnsafe :: (MonadDOM m, HasCallStack) => Response -> m ReadableStream Source #
getBodyUnchecked :: MonadDOM m => Response -> m ReadableStream Source #
Functions for this inteface are in JSDOM.Response.
Instances
PToJSVal Response Source # | |
Defined in JSDOM.Types | |
PFromJSVal Response Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Response # | |
ToJSVal Response Source # | |
FromJSVal Response Source # | |
MakeObject Response Source # | |
Defined in JSDOM.Types makeObject :: Response -> JSM Object # | |
IsGObject Response Source # | |
Defined in JSDOM.Types |
gTypeResponse :: JSM GType Source #