Contentful Personalization & Analytics
    Preparing search index...

    Base options shared across fetch method factories.

    interface BaseFetchMethodOptions {
        apiName?: string;
        fetchMethod?: FetchMethod;
    }

    Hierarchy (View Summary)

    Index

    Properties

    apiName?: string

    Human-readable name of the API being called.

    Used primarily for logging and error messages.

    fetchMethod?: FetchMethod

    Custom fetch implementation to use instead of the global fetch.

    This is useful for providing polyfills, mocks, or instrumented fetch implementations. It is required in runtimes that do not provide globalThis.fetch.