Type Alias GatewayControllerConstructorOptions

GatewayControllerConstructorOptions: GatewayControllerOptions & {
    inject: {
        getHelperService?: (() => GatewayHelperService | undefined);
        http: HTTP;
    };
}

The options to construct a GatewayController.

Type declaration

  • inject: {
        getHelperService?: (() => GatewayHelperService | undefined);
        http: HTTP;
    }

    A dictionary with the dependencies to inject.

    • OptionalgetHelperService?: (() => GatewayHelperService | undefined)

      A function to get a possible helper service. This is injected as a "getter" to not interrupt the DIC "lifecycle": controllers are initialized right when the app starts, and injecting a reference would force the service to be initialized too, even if a request is not being made.

    • http: HTTP