Share via


NSUrlCache.StoreCachedResponse Method

Definition

Overloads

StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)

[Foundation.Export("storeCachedResponse:forRequest:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StoreCachedResponse(Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlRequest forRequest);
[<Foundation.Export("storeCachedResponse:forRequest:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StoreCachedResponse(Foundation.NSCachedUrlResponse cachedResponse, Foundation.NSUrlSessionDataTask dataTask);
[<Foundation.Export("storeCachedResponse:forDataTask:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit
override this.StoreCachedResponse : Foundation.NSCachedUrlResponse * Foundation.NSUrlSessionDataTask -> unit

Parameters

cachedResponse
NSCachedUrlResponse
Attributes

Applies to