Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReferencedResource

Used to create a reference to a resource.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new ReferencedResource(location: string, statusCode: number, body?: any): ReferencedResource
  • Constructor. Receives the location of the resource.

    Parameters

    • location: string

      To be added to the Location header on response

    • statusCode: number

      the response status code to be sent

    • Optional body: any

      the body to be sent

    Returns ReferencedResource

Properties

Optional body

body: any

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