Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface WebSocketClosedEventData
import { type WebSocketClosedEventData } from "https://deno.land/x/lavalink_types@2.0.6/mod.ts";

Properties

code: number

The close code given

reason: string

The reason for closing the websocket.

byRemote: boolean

Whether the websocket connection was closed by a remote source.