Edit

Share via


NSUrlSessionDataDelegate.WillCacheResponse Method

Definition

[Foundation.Export("URLSession:dataTask:willCacheResponse:completionHandler:")]
public virtual void WillCacheResponse (Foundation.NSUrlSession session, Foundation.NSUrlSessionDataTask dataTask, Foundation.NSCachedUrlResponse proposedResponse, Action<Foundation.NSCachedUrlResponse> completionHandler);
abstract member WillCacheResponse : Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit
override this.WillCacheResponse : Foundation.NSUrlSession * Foundation.NSUrlSessionDataTask * Foundation.NSCachedUrlResponse * Action<Foundation.NSCachedUrlResponse> -> unit

Parameters

session
NSUrlSession
proposedResponse
NSCachedUrlResponse
completionHandler
Action<NSCachedUrlResponse>
Attributes

Applies to