nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createServer

Function: createServer()

createServer(options): NostrServer

Creates a new Nostr WebSocket server instance

Parameters

options

NostrWSServerOptions

Server configuration options

Returns

NostrServer

The created server instance

Defined in

core/nostr-server.ts:108