Instance Method

getCachedResponse(for:completionHandler:)

No overview available.

Declaration

func getCachedResponse(for dataTask: URLSessionDataTask, completionHandler: @escaping (CachedURLResponse?) -> Void)

See Also

Getting and storing cached objects

func cachedResponse(for: URLRequest)

Returns the cached URL response in the cache for the specified URL request.

func storeCachedResponse(CachedURLResponse, for: URLRequest)

Stores a cached URL response for a specified request