flummpress/dist/index.d.ts

16 lines
451 B
TypeScript

import Router, { Request, Response, Handler } from "./router.js";
import Tpl from "./template.js";
export { Router, Tpl, Request, Response, Handler };
export default class Flummpress {
private server?;
private middleware;
router: Router;
constructor();
use(plugin: Router | Handler): this;
private processPipeline;
listen(...args: any[]): this;
private parseRequest;
private readBody;
private createResponse;
}