UNPKG

airship-server

Version:

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

8 lines (6 loc) 270 B
import {ASResponse} from './entity/ASResponse' import {ASRequest} from './entity/ASRequest' export abstract class BaseRequestHandler { public abstract async handle(request: ASRequest): Promise<ASResponse> public abstract supports(request: ASRequest): boolean }