flummpress/dist/index.d.ts
2025-03-19 13:57:32 +01:00

17 lines
474 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?;
router: Router;
tpl: Tpl;
middleware: Handler[];
constructor();
use(plugin: Router | Tpl | Handler): this;
private processPipeline;
listen(...args: any[]): this;
private parseRequest;
private readBody;
private createResponse;
}