OptiView Ads SDK
    Preparing search index...

    Type Alias ManifestRequestInterceptor

    ManifestRequestInterceptor: (
        request: ManifestRequest,
        context: ManifestRequestContext,
    ) =>
        | ManifestRequestInterceptorResult
        | Promise<ManifestRequestInterceptorResult>

    Hook to inspect/modify the manifest HTTP request before each fetch (initial and every poll). May be async; on throw the SDK emits DA-MANIFEST-REQUEST-INTERCEPT-FAILED and fetches the original URL.

    Type Declaration

    interceptManifestRequest: (request) => ({
    ...request,
    headers: { ...request.headers, 'X-Debug': '1' },
    })