import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext' export default class {{ filename }} { public async handle({}: HttpContextContract, next: () => Promise) { // code for middleware goes here. ABOVE THE NEXT CALL await next() } }