Instance Property

countOfBytesClientExpectsToReceive

A best-guess upper bound on the number of bytes the client expects to receive.

Declaration

@property int64_t countOfBytesClientExpectsToReceive;

Discussion

The value set for this property should account for the size of both HTTP response headers and the response body. If no value is specified, the system uses NSURLSessionTransferSizeUnknown instead. This property is used by the system to optimize the scheduling of URL session tasks. Developers are strongly encouraged to provide an approximate upper bound, or an exact byte count, if possible, rather than accept the default.

See Also

Scheduling Tasks

countOfBytesClientExpectsToSend

A best-guess upper bound on the number of bytes the client expects to send.

NSURLSessionTransferSizeUnknown

The total size of the transfer cannot be determined.

earliestBeginDate

The earliest date at which the network load should begin.

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