Edit

Share via


NSUrlSessionResponseDisposition Enum

Definition

An enumeration whose values specify the state of a response.

public enum NSUrlSessionResponseDisposition
type NSUrlSessionResponseDisposition = 
Inheritance
NSUrlSessionResponseDisposition

Fields

Name Value Description
Cancel 0
Allow 1
BecomeDownload 2
BecomeStream 3

Remarks

An instance of this class is passed as an argument to the completion handler of the DidReceiveResponse(NSUrlSession, NSUrlSessionDataTask, NSUrlResponse, Action<NSUrlSessionResponseDisposition>) method.

Applies to