| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1× 1× 1× 1× 56× | const d = require("describe-property");
const StatusCodes = require("../StatusCodes");
module.exports = function (mach) {
Object.defineProperties(mach.Connection.prototype, {
/**
* The message that corresponds with the response status code.
*/
statusText: d.gs(function () {
return `${this.status} ${StatusCodes[this.status]}`;
})
});
};
|