Skip to main content
Deno 2 is finally 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.