NSUrlSessionResponseDisposition Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.