Instance Property

request

The URL request object for the resource.

Declaration

var request: URLRequest { get }

Discussion

Use the value in this property to identify the requested resource and to formulate an appropriate response object.

See Also

Accessing the Request Data

var requestor: AVAssetResourceLoadingRequestor

The asset resource requestor that made the request.

class AVAssetResourceLoadingRequestor

An object that contains information about the originator of a loading request.

func streamingContentKeyRequestData(forApp: Data, contentIdentifier: Data, options: [String : Any]?) -> Data

Obtains key request data for a specific combination of application and content.

let AVAssetResourceLoadingRequestStreamingContentKeyRequestRequiresPersistentKey: String

Specifies whether the content key request requires a persistable key to be returned from the key vendor.

var dataRequest: AVAssetResourceLoadingDataRequest?

The range of requested resource data.

var redirect: URLRequest?

An URL request instance if the loading request was redirected.