Type Alias IHttpMiddlewareObject

IHttpMiddlewareObject: IInvokableObject<
    [args: HttpMiddlewareArgs],
    Promisable<IHttpRes>,
>

An invokable object that acts as HTTP middleware. Receives HttpMiddlewareArgs (request, response builder, context, next) and returns a response.

IMPORT_PATH: "@daiso-tech/core/http-router/contracts"