Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
gTypeHeaders :: JSM GType Source #