UNPKG

449 BTypeScriptView Raw
1import { ApplicationContract } from '@ioc:Adonis/Core/Application';
2export default class BodyParserProvider {
3 protected app: ApplicationContract;
4 constructor(app: ApplicationContract);
5 static needsApplication: boolean;
6 /**
7 * Registers the bodyparser middleware namespace to the container.
8 */
9 register(): void;
10 /**
11 * Adding the `file` macro to add support for reading request files.
12 */
13 boot(): void;
14}