Search
Preparing search index...
The search index is not available
@tosee/misc
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@tosee/misc
Response
Class Response
create response instance
example
const
response
=
new
Response
(
200
,
null
,
'success'
);
Hierarchy
Response
Index
Constructors
constructor
Properties
code
data
message
Constructors
constructor
new
Response
(
code
:
number
, data
:
any
, message
?:
string
)
:
Response
Parameters
code:
number
data:
any
message:
string
= ''
Returns
Response
Properties
code
code
:
number
data
data
:
any
message
message
:
string
Exports
Response
constructor
code
data
message
Generated using
TypeDoc
create response instance