@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.
10 lines (9 loc) • 719 B
TypeScript
import ResponseInterface from '@chubbyjs/psr-http-message/dist/ResponseInterface';
import ServerRequestInterface from '@chubbyjs/psr-http-message/dist/ServerRequestInterface';
import RequestHandlerInterface from '@chubbyjs/psr-http-server-handler/dist/RequestHandlerInterface';
import MiddlewareInterface from '@chubbyjs/psr-http-server-middleware/dist/MiddlewareInterface';
import MiddlewareDispatcherInterface from './MiddlewareDispatcherInterface';
declare class MiddlewareDispatcher implements MiddlewareDispatcherInterface {
dispatch(middlewares: Array<MiddlewareInterface>, handler: RequestHandlerInterface, request: ServerRequestInterface): Promise<ResponseInterface>;
}
export default MiddlewareDispatcher;