Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lophus/core/websockets.ts>LazyWebSocket#close

Fully-modular TypeScript implementation of the Nostr protocol, oriented to web standards and edge environments
Latest
method LazyWebSocket.prototype.close
import { LazyWebSocket } from "https://deno.land/x/lophus@0.0.13/core/websockets.ts";

Parameters

optional
code: number
optional
reason: string

Returns

Promise<void>