jimpex
    Preparing search index...

    Type Alias AddGatewayRouteOptions

    The options for GatewayController._addRoute.

    protected

    type AddGatewayRouteOptions = {
        gatewayMiddleware: AsyncExpressMiddleware;
        method: RouterMethod;
        middlewares: ExpressMiddleware[];
        route: string;
        router: Router;
    }
    Index

    Properties

    gatewayMiddleware: AsyncExpressMiddleware

    The middleware created by GatewayController, that makes the request.

    method: RouterMethod

    The router method in which the middlewares will be added.

    middlewares: ExpressMiddleware[]

    A list of extra middlewares to prepend to the gateway middleware.

    route: string

    The route in which the middlewares will be added.

    router: Router

    The reference for the router in which the middlewares will be added.