interface RTCDataChannel
implements EventTarget
import { type RTCDataChannel } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";
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,