Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageInspector

Describes an extension point that can inspect and modify messages.

Hierarchy

  • MessageInspector

Index

Methods

afterReceiveRequest

  • afterReceiveRequest(request: Message): any
  • Called after a message has been received but before it has been dispatched. Returns a value that is passed to beforeSendReply.

    Parameters

    • request: Message

      The request message.

    Returns any

beforeSendReply

  • beforeSendReply(reply: Message, state: any): void
  • Called after the operation has returned but before the reply message is sent.

    Parameters

    • reply: Message

      The reply message.

    • state: any

      The value returned from afterReceiveRequest.

    Returns void

Generated using TypeDoc