import { Client } from "https://deno.land/x/lophus@0.0.13/core/clients.ts";
A class that represents a remote Nostr client.
Constructors
new
Client(ws: WebSocket, opts?: ClientOptions)Properties
readonly
subscriptions: Map<SubscriptionId, WritableStream<NostrEvent>>Writable interface for the subscriptions.
ws: WebSocket
The WebSocket connection to the client.