Class IlcSdk

Entrypoint for SDK that should be used within application server that executes SSR bundle

Hierarchy

Constructors

Methods

  • 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<IncomingMessage>
    • appAssets: AppAssets

    Returns void

  • Processes incoming request and returns object that can be used to fetch information passed by ILC to the application.

    Type Parameters

    • RegistryProps = unknown

    Parameters

    • req: IncomingMessage

    Returns ProcessedRequest<RegistryProps>

Generated using TypeDoc