@joker.front/cli
Version:
The Next-Generation Front-End Toolchain: Swift, Efficient, and Adaptive.
12 lines (11 loc) • 364 B
TypeScript
import { Server } from "..";
import type { IncomingMessage, ServerResponse } from "http";
import { NextFunction } from "connect";
/**
* Server 模式下的 base地址处理
*/
export declare class BasePathMiddleware {
protected server: Server;
constructor(server: Server);
exec(req: IncomingMessage, res: ServerResponse, next: NextFunction): void;
}