| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1 8 7 7 1 1 1 1 1 1 1 1 1 1 | 'use strict';
var Request = function (from) {
if (this instanceof Request) {
this.from = from;
return this;
}
return new Request(from);
};
Request.prototype.route = null;
Request.prototype.url = null;
Request.prototype.type = null;
Request.prototype.method = null;
Request.prototype.headers = null;
Request.prototype.data = null;
Request.prototype.res = null;
Request.prototype.contentType = null;
module.exports = Request; |