Constants indicating how a data or upload session should proceed after receiving the initial headers.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
When a data or upload task first receives a response, it calls the
URLSession: method of
NSURLSession. Implement this method to inspect the received
NSURLResponse and then call the provided completion handler. The first parameter to the completion handler is of this type, a disposition that tells the task how to proceed.