@cpod/sdk - v0.2.7
    Preparing search index...

    Interface FetchJsonOptions

    Fetch JSON options

    interface FetchJsonOptions {
        key?: string;
        ttl?: number;
        force?: boolean;
        headers?: Record<string, string>;
    }
    Index

    Properties

    key?: string

    Cache key (defaults to URL)

    ttl?: number

    Time-to-live in seconds

    force?: boolean

    Force refresh even if cached

    headers?: Record<string, string>

    Request headers