std@0.95.0/ws/mod.ts

Deno standard library
GitHub Stars
2260
Go to Latest

WebSocketCloseEvent

import { type WebSocketCloseEvent } from "https://deno.land/std@0.95.0/ws/mod.ts";
interface WebSocketCloseEvent {
code: number;
reason?: string;
}