1 | /// <reference types="express" />
|
2 | import { RequestBodyParser } from './body-parsers';
|
3 | import { ResolvedRoute } from './router';
|
4 | import { 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 | */
|
12 | export declare function parseOperationArgs(request: Request, route: ResolvedRoute, requestBodyParser?: RequestBodyParser, options?: ValidationOptions): Promise<OperationArgs>;
|