Interface RequestData<RegistryProps>

Result of the "processRequest" method

Type Parameters

  • RegistryProps = unknown

Hierarchy

Properties

appId: string

Unique application ID, if same app will be rendered twice on a page - it will get different IDs

getCurrentBasePath: (() => string)

Type declaration

    • (): string
    • Returns base path that is relative to the matched route. See README for more info.

      Returns string

getCurrentPathProps: (() => RegistryProps)

Type declaration

    • (): RegistryProps
    • Returns Props that were assigned to app in ILC Registry for the current path

      Returns RegistryProps

getCurrentReqHost: (() => string)

Type declaration

    • (): string
    • Returns string

getCurrentReqOriginalUri: (() => string)

Type declaration

    • (): string
    • Returns original URI that is present in the actual HTTP request. It may contain information about locale.

      Returns string

getCurrentReqUrl: (() => string)

Type declaration

    • (): string
    • Returns original URI that is present in the actual HTTP request. It DOES NOT contain information about locale.

      Returns string

getWrappedAppProps: (() => RegistryProps)

Type declaration

    • (): RegistryProps
    • Returns Props that were assigned to wrapped app in ILC Registry

      Returns RegistryProps

trigger404Page: ((withCustomContent?: boolean) => void)

Type declaration

    • (withCustomContent?: boolean): void
    • Parameters

      • Optional withCustomContent: boolean

      Returns void

Generated using TypeDoc