Enumeration Case

NSURLSessionResponseBecomeStream

Convert the response for this request to use a NSURLSessionStreamTask.

Declaration

NSURLSessionResponseBecomeStream = 3

Discussion

When used with the completion handler from URLSession:dataTask:didReceiveResponse:completionHandler:, this disposition converts the task to a stream task. This will result in your delegate’s URLSession:dataTask:didBecomeStreamTask: being called to provide you with the new stream task that supersedes the current task.

See Also

Task Dispositions

NSURLSessionResponseAllow

Allow the load operation to continue.

NSURLSessionResponseBecomeDownload

Convert the response for this request to use a NSURLSessionDownloadTask.