Instance Property


The timeout interval to use when waiting for additional data.


@property NSTimeInterval timeoutIntervalForRequest;


This property determines the request timeout interval for all tasks within sessions based on this configuration. The request timeout interval controls how long (in seconds) a task should wait for additional data to arrive before giving up. The timer associated with this value is reset whenever new data arrives. When the request timer reaches the specified interval without receiving any new data, it triggers a timeout.

The default value is 60.

See Also

Setting General Properties


The background session identifier of the configuration object.


A dictionary of additional headers to send with requests.


The type of network service for all tasks within sessions based on this configuration.


A Boolean value that determines whether connections should be made over a cellular network.


The maximum amount of time that a resource request should be allowed to take.


The identifier for the shared container into which files in background URL sessions should be downloaded.


A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software