Http.RangeRange requests.
Support for range requests.
The type for byte range specifications. Offsets are zero-based and bounds are inclusive.
val eval_bytes : length:int -> bytes -> (int * int) optioneval_bytes ~length b given a representation length len and byte range b returns a concrete zero-based byte range or None if the range cannot be satisfied for length.
The type for ranges.
val decode : string -> (t, string) Stdlib.resultdecode s decodes an HTTP Range value.
val encode : t -> stringencode r serializes r to a HTTP Range value. It's the client duty to make sure ranges are valid.
val pp : Stdlib.Format.formatter -> t -> unitpp formats ranges for inspection.