ContentRangeInit

View Source

Summary

Initializer for a Content-Range header value.

Signature

interface ContentRangeInit {
  end?: number | null;
  size?: number | "*";
  start?: number | null;
  unit?: string;
}

Properties

end

The end position of the range (inclusive) Set to null for unsatisfied ranges

size

The total size of the resource Set to '*' for unknown size

start

The start position of the range (inclusive) Set to null for unsatisfied ranges

unit

The unit of the range, typically "bytes"