zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
11 lines (10 loc) • 545 B
TypeScript
import type { RequestConfig, Route } from '../types/';
import type { Context } from './Context';
import { ControllerRequestHandler } from './requesthandlers/ControllerRequestHandler';
import type { Registry } from '../core/Registry';
import { SecurityRequestHandler } from './requesthandlers/SecurityRequestHandler';
export declare class RequestFactory {
protected registry: Registry;
constructor(registry: Registry);
build(context: Context, config: RequestConfig, route: Route): ControllerRequestHandler | SecurityRequestHandler;
}