NSUrlCache.StoreCachedResponse Method

Definition

Overloads

StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)
StoreCachedResponse(NSCachedUrlResponse, NSUrlSessionDataTask)

StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)

[Foundation.Export("storeCachedResponse:forRequest:")]
public virtual void StoreCachedResponse (Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlRequest forRequest);
abstract member StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlRequest -> unit
override this.StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlRequest -> unit

Parameters

cachedResponse
NSCachedUrlResponse
forRequest
NSUrlRequest
Attributes

Applies to

StoreCachedResponse(NSCachedUrlResponse, NSUrlSessionDataTask)

[Foundation.Export("storeCachedResponse:forDataTask:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StoreCachedResponse (Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlSessionDataTask dataTask);
abstract member StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit
override this.StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit

Parameters

cachedResponse
NSCachedUrlResponse
Attributes

Applies to