Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestContext

Represents a service request.

Hierarchy

  • RequestContext

Implemented by

Index

Properties

message

message: Message

The message for the request.

Methods

abort

  • abort(): void

addListener

  • Adds an event listener to the request. The only available event is the 'close' event which is raised if the connection for the request closes unexpectedly.

    Parameters

    • event: string

      The event name.

    • listener: Function

      A function to be called on the event.

    Returns RequestContext

removeListener

  • Removes an event listener from the request.

    Parameters

    • event: string

      The event name.

    • listener: Function

      The function for the listener to remove.

    Returns RequestContext

reply

Generated using TypeDoc