Interface MiddlewareComposer

Composer API for middleware functions.

interface MiddlewareComposer {
    use<MethodKey>(key: MethodKey, wrap: Container[MethodKey] extends Function
        ? ((next: any[any]) => any[any])
        : never): MiddlewareComposer;
}

Methods

Methods