@adonisjs/bodyparser
Version:
AdonisJs body parser to read and parse HTTP request bodies
15 lines (14 loc) • 449 B
TypeScript
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
export default class BodyParserProvider {
protected app: ApplicationContract;
constructor(app: ApplicationContract);
static needsApplication: boolean;
/**
* Registers the bodyparser middleware namespace to the container.
*/
register(): void;
/**
* Adding the `file` macro to add support for reading request files.
*/
boot(): void;
}