nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / MessageType

Type Alias: MessageType

MessageType: "EVENT" | "REQ" | "CLOSE" | "NOTICE" | "EOSE" | "OK" | "AUTH" | "COUNT" | "PING" | "PONG" | "error"

Type of message that can be sent through the WebSocket connection Following NIP-01 and other NIPs message types

Defined in

types/messages.ts:21