hyper-express
Version:
High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
28 lines (22 loc) • 513 B
JavaScript
/**
* @typedef {Object} NodeResponseTypes
* @property {number} statusCode
* @property {string} statusMessage
*/
class NodeResponse {
/* Properties */
get statusCode() {
return this._status_code;
}
set statusCode(value) {
this._status_code = value;
}
get statusMessage() {
return this._status_message;
}
set statusMessage(value) {
this._status_message = value;
}
}
module.exports = NodeResponse;
;