Instance Property

requestsAllDataToEndOfResource

A Boolean value that indicates the entire remaining length of the resource from the offest to the end of the resource is being requested.

Declaration

@property(nonatomic, readonly) BOOL requestsAllDataToEndOfResource;

Discussion

When this property is true, you should disregard the value of requestedLength and incrementally provide as much data, starting from the requested offset, as the resource contains. Continue until all available data was successfully loaded, the request was cancelled, or an error occurs.

See Also

Providing Data to a Request

- respondWithData:

Provides data to the loading request.

requestedLength

The length, in bytes, of the data requested.

requestedOffset

The position within the resource of the first byte requested.

currentOffset

The position within the resource of the next byte.