Bewerken

Delen via


NSUrlSessionDataDelegate_Extensions.WillCacheResponse Method

Definition

public static void WillCacheResponse (this Foundation.INSUrlSessionDataDelegate This, Foundation.NSUrlSession session, Foundation.NSUrlSessionDataTask dataTask, Foundation.NSCachedUrlResponse proposedResponse, Action<Foundation.NSCachedUrlResponse> completionHandler);
static member WillCacheResponse : Foundation.INSUrlSessionDataDelegate * Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit

Parameters

This
INSUrlSessionDataDelegate

The instance on which this extension method operates.

session
NSUrlSession
proposedResponse
NSCachedUrlResponse
completionHandler
Action<NSCachedUrlResponse>

Applies to