---
title: requestsAllDataToEndOfResource
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetresourceloadingdatarequest/requestsalldatatoendofresource
---

# 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

```swift
var requestsAllDataToEndOfResource: Bool { get }
```

## Discussion

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

- [respond(with:)](avfoundation/avassetresourceloadingdatarequest/respond(with:).md)
- [requestedLength](avfoundation/avassetresourceloadingdatarequest/requestedlength.md)
- [requestedOffset](avfoundation/avassetresourceloadingdatarequest/requestedoffset.md)
- [currentOffset](avfoundation/avassetresourceloadingdatarequest/currentoffset.md)
