UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

7 lines (6 loc) 265 B
import { ASResponse } from './entity/ASResponse'; import { ASRequest } from './entity/ASRequest'; export declare abstract class BaseRequestHandler { abstract handle(request: ASRequest): Promise<ASResponse>; abstract supports(request: ASRequest): boolean; }