Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestAccepted<T>

Inform that the request was accepted but is not completed. A Location header should inform the location where the user can monitor his request processing status.

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Constructor. Receives the location where information about the request processing can be found.

    Parameters

    • location: string

      To be added to the Location header on response

    • Optional body: T

      To be added to the response body

    Returns RequestAccepted

Properties

Optional body

body: T

the body to be sent

location

location: string

To be added to the Location header on response

statusCode

statusCode: number

the response status code to be sent

Generated using TypeDoc