This repository has been archived on 2020-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
requestor/lib/HttpHandler.ts
2020-05-02 21:48:22 +02:00

12 lines
241 B
TypeScript

import { Router } from 'express';
export abstract class HttpHandler {
public abstract register_handlers(router: Router): void;
public get_router (): Router {
const r = Router ();
this.register_handlers (r);
return r;
}
}