TypedRest for TypeScript - v0.5.0
    Preparing search index...

    Class HttpContentRange

    Describes which subset of a set of elements a response contains.

    Index
    • Creates a new content range.

      Parameters

      • unit: string

        The unit the range is expressed in, e.g. elements.

      • Optionalfrom: number

        The index at which the data starts.

      • Optionalto: number

        The index at which the data stops.

      • Optionallength: number

        The total number of elements available on the server; undefined if unknown.

      Returns HttpContentRange

    from?: number

    The index at which the data starts.

    length?: number

    The total number of elements available on the server; undefined if unknown.

    to?: number

    The index at which the data stops.

    unit: string

    The unit the range is expressed in, e.g. elements.