interface dom.RTCDataChannel
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.7/lib/index.ts";
const { RTCDataChannel } = dom;
Properties
onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null
onclose: ((this: RTCDataChannel, ev: Event) => any) | null
onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null
onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null
onopen: ((this: RTCDataChannel, ev: Event) => any) | null
readonly
priority: RTCPriorityTypereadonly
readyState: RTCDataChannelStateMethods
send(data: Blob): void
addEventListener<K extends keyof RTCDataChannelEventMap>(): void
type: K,
listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof RTCDataChannelEventMap>(): void
type: K,
listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any,
options?: boolean | EventListenerOptions,