Module

x/evt/lib/index.ts>dom.RTCSctpTransport

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.RTCSctpTransport
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { RTCSctpTransport } = dom;

Properties

readonly
maxChannels: number | null
readonly
maxMessageSize: number
onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null
readonly
state: RTCSctpTransportState
readonly
transport: RTCDtlsTransport

Methods

addEventListener<K extends keyof RTCSctpTransportEventMap>(
type: K,
listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof RTCSctpTransportEventMap>(
type: K,
listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void