nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createCloseMessage

Function: createCloseMessage()

createCloseMessage(subscriptionId): NostrWSMessage

Creates a CLOSE message

Parameters

subscriptionId

string

Returns

NostrWSMessage

Defined in

nips/nip-01.ts:84