readRange

open override fun readRange(from: Long?, to: Long?): PartialResponse<TEntity>

Returns all entities within a specific range of the collection.

Return

A PartialResponse containing a subset of the entities and the range they come from.

Parameters

from

The position at which to start sending data.

to

The position at which to stop sending data.

Throws

when the server responds with HttpStatusCode.Forbidden.

if the requested range is not satisfiable.

for other non-success status codes.