Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Response

create response instance

example

const response = new Response(200,null,'success');

Hierarchy

  • Response

Index

Constructors

Properties

Constructors

constructor

  • new Response(code: number, data: any, message?: string): Response

Properties

code

code: number

data

data: any

message

message: string

Generated using TypeDoc