@chubbyjs/chubbyjs-framework
Version:
A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use.
13 lines (12 loc) • 759 B
TypeScript
import MiddlewareInterface from '@chubbyjs/psr-http-server-middleware/dist/MiddlewareInterface';
import RequestHandlerInterface from '@chubbyjs/psr-http-server-handler/dist/RequestHandlerInterface';
import ServerRequestInterface from '@chubbyjs/psr-http-message/dist/ServerRequestInterface';
import ResponseInterface from '@chubbyjs/psr-http-message/dist/ResponseInterface';
import ContainerInterface from '@chubbyjs/psr-container/dist/ContainerInterface';
declare class LazyMiddleware implements MiddlewareInterface {
private container;
private id;
constructor(container: ContainerInterface, id: string);
process(request: ServerRequestInterface, handler: RequestHandlerInterface): Promise<ResponseInterface>;
}
export default LazyMiddleware;