Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>closeWS

A powerful and customizable framework for Discordeno
Latest
function closeWS
Re-export
import { closeWS } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Use this function to close a ws connection properly

Parameters

optional
code: number
optional
reason: string