Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- append :: (MonadDOM m, ToJSString name, ToJSString value) => Headers -> name -> value -> m ()
- delete :: (MonadDOM m, ToJSString name) => Headers -> name -> m ()
- get :: (MonadDOM m, ToJSString name, FromJSString result) => Headers -> name -> m (Maybe result)
- get_ :: (MonadDOM m, ToJSString name) => Headers -> name -> m ()
- getUnsafe :: (MonadDOM m, ToJSString name, HasCallStack, FromJSString result) => Headers -> name -> m result
- getUnchecked :: (MonadDOM m, ToJSString name, FromJSString result) => Headers -> name -> m result
- has :: (MonadDOM m, ToJSString name) => Headers -> name -> m Bool
- has_ :: (MonadDOM m, ToJSString name) => Headers -> name -> m ()
- set :: (MonadDOM m, ToJSString name, ToJSString value) => Headers -> name -> value -> m ()
- newtype Headers = Headers {}
- gTypeHeaders :: JSM GType
Documentation
append :: (MonadDOM m, ToJSString name, ToJSString value) => Headers -> name -> value -> m () Source #
get :: (MonadDOM m, ToJSString name, FromJSString result) => Headers -> name -> m (Maybe result) Source #
getUnsafe :: (MonadDOM m, ToJSString name, HasCallStack, FromJSString result) => Headers -> name -> m result Source #
getUnchecked :: (MonadDOM m, ToJSString name, FromJSString result) => Headers -> name -> m result Source #
set :: (MonadDOM m, ToJSString name, ToJSString value) => Headers -> name -> value -> m () Source #
Functions for this inteface are in JSDOM.Headers.
Instances
PToJSVal Headers Source # | |
Defined in JSDOM.Types | |
PFromJSVal Headers Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Headers # | |
ToJSVal Headers Source # | |
FromJSVal Headers Source # | |
MakeObject Headers Source # | |
Defined in JSDOM.Types makeObject :: Headers -> JSM Object # | |
IsGObject Headers Source # | |
Defined in JSDOM.Types |
gTypeHeaders :: JSM GType Source #