Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lophus/lib/testing.ts>MockWebSocket#close

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

Parameters

optional
code: number
optional
reason: string