Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of a status property and an attached response, which can be used to determine the correct execution of requests and read the response object.

since

v0.3.2

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

code: number

Contains the HTTP status code sent with the response object. Successful requests shall contain 200 as the status code.

access

public

var

{number}

response?: any

Contains the response object given a successful request, or undefined otherwise.

access

public

var

{string}

status: boolean

Contains true given a successful request, or false otherwise.

access

public

var

{string}

Accessors

  • get data(): any

Methods

Generated using TypeDoc