HttpHandler.d.ts 470 B

12345678910111213
  1. declare abstract class HttpHandler {
  2. protected abstract order: number;
  3. protected abstract route: string | null;
  4. protected abstract action: (...any: any[]) => any;
  5. protected context: any;
  6. constructor(context: Record<string, any>);
  7. setContext(context: Record<string, any>): HttpHandler;
  8. getContext(): Record<string, any>;
  9. getRoute(): string | null;
  10. getAction(): (...any: any[]) => any;
  11. getOrder(): number;
  12. }
  13. export { HttpHandler };