UNPKG

@adonisjs/bodyparser

Version:

AdonisJs body parser to read and parse HTTP request bodies

8 lines (7 loc) 313 B
/// <reference path="../../adonis-typings/bodyparser.d.ts" /> import { RequestConstructorContract } from '@ioc:Adonis/Core/Request'; /** * Extend the Request class by adding `file` and `files` macro to read processed * files */ export default function extendRequest(Request: RequestConstructorContract): void;