• Preparing search index...
  • The search index is not available
nostr-relay
  • nostr-relay
  • @nostr-relay/common
  • createOutgoingOkMessage

Function createOutgoingOkMessage

  • createOutgoingOkMessage(eventId, success, message?): OutgoingOkMessage
  • Create an outgoing OK message. More info: https://github.com/nostr-protocol/nips/blob/master/01.md

    Parameters

    • eventId: string

      Event Id to respond to

    • success: boolean

      Whether the event was successfully handled

    • message: string = ''

      Message to send to the client

    Returns OutgoingOkMessage

    • Defined in packages/common/src/utils/response.util.ts:21

Settings

Member Visibility
nostr-relay
  • Loading...

Generated using TypeDoc