UNPKG

tsunamy

Version:

A new typesript framework

13 lines (12 loc) 706 B
/// <reference types="node" /> import { ResponseEntity } from './response-entity'; import { IncomingMessage, ServerResponse } from 'http'; export declare class Router { static executeRouteFunction(req: IncomingMessage, res: ServerResponse, urlParam: Map<string, any>, urlQueryParam: Map<string, any>, bodyParam: any, functionVar: any, controllerInstance: any): Promise<ResponseEntity<any>>; static setConfig(newCONFIGURATION: any): void; static add(url: string, method: string, functionVar: any, controllerInstance: any): any; static resolve(url?: string, method?: string): any; private static pathMatch; private static extractVarFromPath; private static extractVarFromQuery; }