Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IlcAppWrapperSdk

Hierarchy

Index

Constructors

constructor

Methods

assetsDiscoveryHandler

  • assetsDiscoveryHandler(req: IncomingMessage, res: ServerResponse, appAssets: AppAssets): void
  • Correctly responds to ILC for the assets discovery request.

    WARNING: this method should never be used in production if application is running in more than a single instance

    Parameters

    • req: IncomingMessage
    • res: ServerResponse
    • appAssets: AppAssets

    Returns void

forwardRequest

processRequest

  • processRequest<RegistryProps>(req: IncomingMessage): ProcessedRequest<RegistryProps>
  • Processes incoming request and returns object that can be used to fetch information passed by ILC to the application.

    Type parameters

    • RegistryProps

    Parameters

    • req: IncomingMessage

    Returns ProcessedRequest<RegistryProps>

Generated using TypeDoc