Type alias MiddlewareProviderRegisterFn

MiddlewareProviderRegisterFn: (<ContainerType>(container, route?) => Middleware)

The function a middelware provider uses to configure/extend the container before returning an actual middleware.

Type declaration

    • <ContainerType>(container, route?): Middleware
    • Type Parameters

      Parameters

      • container: ContainerType

        The reference to the Jimpex container.

      • Optional route: string

        This is available only in the case the middleware is mounted on a specific route.

      Returns Middleware

Generated using TypeDoc