Page MenuHomeSealhub

response.js
No OneTemporary

response.js

function Response(data, is_error, type, status_message){
this.status = is_error? "error" : "success";
this.type = type || "response";
this.status_message = status_message || ok;
this.data = data || {};
}
module.exports = Response;

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 06:56 (18 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
978951
Default Alt Text
response.js (235 B)

Event Timeline