@dooboostore/simple-boot-http-server
Version:
back end http server frameworks
18 lines (17 loc) • 322 B
JavaScript
// src/endpoints/HeaderEndPoint.ts
var HeaderEndPoint = class {
constructor(headers) {
this.headers = headers;
}
async endPoint(rr, app) {
if (this.headers) {
rr.resSetHeaders(this.headers);
}
}
async onInit(app) {
}
};
export {
HeaderEndPoint
};
//# sourceMappingURL=HeaderEndPoint.js.map