lib/middleware/bodyparser.js
function addMode(middle, mode, settings) {
    if (!modes.includes(mode)) throw `Incorrect bodyparser mode ${mode}`;
    middle.push(bodyParser[mode](settings[mode]));
}
function addMode(middle, mode, settings) {
    if (!modes.includes(mode)) throw `Incorrect bodyparser mode ${mode}`;
    middle.push(bodyParser[mode](settings[mode]));
}
function addMode ( middle , mode , settings ) { if ( ! modes . includes ( mode ) ) throw ` ${ mode } ` ; middle . push ( bodyParser [ mode ] ( settings [ mode ] ) ) ; }
Add a single parse mode to the route middleware
@param middle
@param mode
@param settings
Add a single parse mode to the route middleware