Skip to main content
WebSocket.removeEventListener - WebSockets - Web documentation
method WebSocket.removeEventListener
Private
WebSocket.removeEventListener<K extends keyof WebSocketEventMap>(
type: K,
listener: () => any,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof WebSocketEventMap

Parameters

type: K
listener: () => any
optional
options: boolean | EventListenerOptions

Return Type

void
WebSocket.removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void