NSUrlSessionDataDelegate.WillCacheResponse Method
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.
[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
- dataTask
- NSUrlSessionDataTask
- proposedResponse
- NSCachedUrlResponse
- completionHandler
- Action<NSCachedUrlResponse>
- Attributes