Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RTCSctpTransport

interface RTCSctpTransport extends EventTarget {
readonly maxChannels: number | null;
readonly maxMessageSize: number;
onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;
readonly state: RTCSctpTransportState;
readonly transport: RTCDtlsTransport;
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;
}
var RTCSctpTransport: {
prototype: RTCSctpTransport;
}
;

§Extends

§Properties

§
readonly maxChannels: number | null
[src]
§
readonly maxMessageSize: number
[src]
§
onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null
[src]
§
readonly transport: RTCDtlsTransport
[src]

§Methods

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