UNPKG

558 BTypeScriptView Raw
1/// <reference types="express" />
2import { RequestBodyParser } from './body-parsers';
3import { ResolvedRoute } from './router';
4import { OperationArgs, Request, ValidationOptions } from './types';
5/**
6 * Parses the request to derive arguments to be passed in for the Application
7 * controller method
8 *
9 * @param request - Incoming HTTP request
10 * @param route - Resolved Route
11 */
12export declare function parseOperationArgs(request: Request, route: ResolvedRoute, requestBodyParser?: RequestBodyParser, options?: ValidationOptions): Promise<OperationArgs>;