Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Responder

Responder interface to dispatch responses to requests.

Hierarchy

  • Responder

Index

Methods

Methods

reject

  • reject(message: string): void
  • Reject a message

    Parameters

    • message: string

      the message indicating the failure

    Returns void

respond

  • respond(response: any): void
  • Dispatch a response to a request.

    Parameters

    • response: any

      the response to send

    Returns void