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

RTCDtlsTransport

interface RTCDtlsTransport extends EventTarget {
readonly iceTransport: RTCIceTransport;
onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
readonly state: RTCDtlsTransportState;
addEventListener<K extends keyof RTCDtlsTransportEventMap>(
type: K,
listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
getRemoteCertificates(): ArrayBuffer[];
removeEventListener<K extends keyof RTCDtlsTransportEventMap>(
type: K,
listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var RTCDtlsTransport: {
prototype: RTCDtlsTransport;
}
;

§Extends

§Properties

§
readonly iceTransport: RTCIceTransport
[src]
§
onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null
[src]
§
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null
[src]

§Methods

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