Edytuj

Udostępnij za pośrednictwem


NSUrlSessionResponse Delegate

Definition

Signature for callbacks invoked by NSUrlSession for various background operations.

public delegate void NSUrlSessionResponse(NSData data, NSUrlResponse response, NSError error);
type NSUrlSessionResponse = delegate of NSData * NSUrlResponse * NSError -> unit

Parameters

data
NSData

Data that was received.

response
NSUrlResponse

The object representing the response.

error
NSError

Error code, if any.

Applies to