setRanges

fun setRanges(ranges: Range, length: <Error class: unknown class>)

Sets @hdrs's Range header to request the indicated ranges.

If you only want to request a single range, you can use method@MessageHeaders.set_range.

Parameters

ranges

an array of #SoupRange

length

the length of @range