nostr-websocket-utils / MESSAGE_TYPES
const
MESSAGE_TYPES:object
Message types as defined in NIP-01 and other NIPs
readonly
EVENT:"EVENT"
='EVENT'
readonly
REQ:"REQ"
='REQ'
readonly
CLOSE:"CLOSE"
='CLOSE'
readonly
NOTICE:"NOTICE"
='NOTICE'
readonly
EOSE:"EOSE"
='EOSE'
readonly
OK:"OK"
='OK'
readonly
AUTH:"AUTH"
='AUTH'
readonly
COUNT:"COUNT"
='COUNT'
readonly
PING:"PING"
='PING'
readonly
PONG:"PONG"
='PONG'
readonly
ERROR:"error"
='error'