cosovo
    Preparing search index...

    Interface FetchOptions

    Options for fetching chunks of a remote file

    interface FetchOptions {
        chunkSize?: number;
        fetchChunk?: any;
        firstByte?: number;
        lastByte?: number;
        parse?: any;
        requestInit?: RequestInit;
    }
    Index

    Properties

    chunkSize?: number

    The size of each chunk to fetch. It must be a strictly positive integer. Default is 1MB.

    fetchChunk?: any

    Optional custom fetchChunk function for fetching chunks.

    firstByte?: number

    The byte where fetching starts. It must be a non-negative integer. Default is 0.

    lastByte?: number

    The last byte fetched (inclusive). It must be a non-negative integer. Default is the end of the file.

    parse?: any

    Optional custom parse function for parsing a string.

    requestInit?: RequestInit

    Optional fetch request initialization parameters.