Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- send :: (MonadDOM m, IsArrayBuffer data') => RTCDataChannel -> data' -> m ()
- sendView :: (MonadDOM m, IsArrayBufferView data') => RTCDataChannel -> data' -> m ()
- sendBlob :: (MonadDOM m, IsBlob data') => RTCDataChannel -> data' -> m ()
- sendString :: (MonadDOM m, ToJSString data') => RTCDataChannel -> data' -> m ()
- close :: MonadDOM m => RTCDataChannel -> m ()
- getLabel :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result
- getOrdered :: MonadDOM m => RTCDataChannel -> m Bool
- getMaxPacketLifeTime :: MonadDOM m => RTCDataChannel -> m (Maybe Word)
- getMaxPacketLifeTimeUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word
- getMaxPacketLifeTimeUnchecked :: MonadDOM m => RTCDataChannel -> m Word
- getMaxRetransmits :: MonadDOM m => RTCDataChannel -> m (Maybe Word)
- getMaxRetransmitsUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word
- getMaxRetransmitsUnchecked :: MonadDOM m => RTCDataChannel -> m Word
- getProtocol :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result
- getNegotiated :: MonadDOM m => RTCDataChannel -> m Bool
- getId :: MonadDOM m => RTCDataChannel -> m (Maybe Word)
- getIdUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word
- getIdUnchecked :: MonadDOM m => RTCDataChannel -> m Word
- getReadyState :: MonadDOM m => RTCDataChannel -> m RTCDataChannelState
- getBufferedAmount :: MonadDOM m => RTCDataChannel -> m Word
- setBufferedAmountLowThreshold :: MonadDOM m => RTCDataChannel -> Word -> m ()
- getBufferedAmountLowThreshold :: MonadDOM m => RTCDataChannel -> m Word
- setBinaryType :: (MonadDOM m, ToJSString val) => RTCDataChannel -> val -> m ()
- getBinaryType :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result
- open :: EventName RTCDataChannel Event
- error :: EventName RTCDataChannel UIEvent
- closeEvent :: EventName RTCDataChannel CloseEvent
- message :: EventName RTCDataChannel MessageEvent
- bufferedamountlow :: EventName RTCDataChannel onbufferedamountlow
- newtype RTCDataChannel = RTCDataChannel {}
- gTypeRTCDataChannel :: JSM GType
Documentation
send :: (MonadDOM m, IsArrayBuffer data') => RTCDataChannel -> data' -> m () Source #
sendView :: (MonadDOM m, IsArrayBufferView data') => RTCDataChannel -> data' -> m () Source #
sendString :: (MonadDOM m, ToJSString data') => RTCDataChannel -> data' -> m () Source #
close :: MonadDOM m => RTCDataChannel -> m () Source #
getLabel :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result Source #
getOrdered :: MonadDOM m => RTCDataChannel -> m Bool Source #
getMaxPacketLifeTime :: MonadDOM m => RTCDataChannel -> m (Maybe Word) Source #
getMaxPacketLifeTimeUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word Source #
getMaxPacketLifeTimeUnchecked :: MonadDOM m => RTCDataChannel -> m Word Source #
getMaxRetransmits :: MonadDOM m => RTCDataChannel -> m (Maybe Word) Source #
getMaxRetransmitsUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word Source #
getMaxRetransmitsUnchecked :: MonadDOM m => RTCDataChannel -> m Word Source #
getProtocol :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result Source #
getNegotiated :: MonadDOM m => RTCDataChannel -> m Bool Source #
getIdUnsafe :: (MonadDOM m, HasCallStack) => RTCDataChannel -> m Word Source #
getIdUnchecked :: MonadDOM m => RTCDataChannel -> m Word Source #
getReadyState :: MonadDOM m => RTCDataChannel -> m RTCDataChannelState Source #
getBufferedAmount :: MonadDOM m => RTCDataChannel -> m Word Source #
setBufferedAmountLowThreshold :: MonadDOM m => RTCDataChannel -> Word -> m () Source #
getBufferedAmountLowThreshold :: MonadDOM m => RTCDataChannel -> m Word Source #
setBinaryType :: (MonadDOM m, ToJSString val) => RTCDataChannel -> val -> m () Source #
getBinaryType :: (MonadDOM m, FromJSString result) => RTCDataChannel -> m result Source #
bufferedamountlow :: EventName RTCDataChannel onbufferedamountlow Source #
newtype RTCDataChannel Source #
Functions for this inteface are in JSDOM.RTCDataChannel. Base interface functions are in:
Instances
PToJSVal RTCDataChannel Source # | |
Defined in JSDOM.Types pToJSVal :: RTCDataChannel -> JSVal # | |
PFromJSVal RTCDataChannel Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> RTCDataChannel # | |
ToJSVal RTCDataChannel Source # | |
Defined in JSDOM.Types toJSVal :: RTCDataChannel -> JSM JSVal # toJSValListOf :: [RTCDataChannel] -> JSM JSVal # | |
FromJSVal RTCDataChannel Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe RTCDataChannel) # fromJSValUnchecked :: JSVal -> JSM RTCDataChannel # fromJSValListOf :: JSVal -> JSM (Maybe [RTCDataChannel]) # fromJSValUncheckedListOf :: JSVal -> JSM [RTCDataChannel] # | |
MakeObject RTCDataChannel Source # | |
Defined in JSDOM.Types makeObject :: RTCDataChannel -> JSM Object # | |
IsEventTarget RTCDataChannel Source # | |
Defined in JSDOM.Types | |
IsGObject RTCDataChannel Source # | |
Defined in JSDOM.Types typeGType :: RTCDataChannel -> JSM GType |