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

18 lines
452 B
TypeScript

import Router from "./router.js";
import Tpl from "./template.js";
import { Handler } from "./types.js";
export { Router, Tpl };
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;
}