UNPKG

web-dev-server

Version:

Node.js simple http server for common development or training purposes.

20 lines 604 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.Event = void 0; var Event = /** @class */ (function () { function Event(req, res, fullPath) { this.preventDefault = false; this.req = req; this.res = res; this.fullPath = fullPath; } Event.prototype.PreventDefault = function () { this.preventDefault = true; return this; }; Event.prototype.IsPreventDefault = function () { return this.preventDefault; }; return Event; }()); exports.Event = Event; //# sourceMappingURL=Event.js.map