Function parseRangeHeaders

  • Parse start, end and total from HTTP Content-Range header value

    Parameters

    • header: null | string

      HTTP Range header value

    • typ: string

      type of range, e.g. "aids"

    Returns {
        end: number;
        start: number;
        total: number;
    }

    • object with start, end and total properties
    • end: number
    • start: number
    • total: number

Generated using TypeDoc