|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Cocoa Networking||MBS MacBase Plugin||19.0||Yes||No||No||Yes, macOS only||No|
A NSCachedURLResponseMBS object provides the server’s response metadata in the form of a NSURLResponseMBS object, along with an NSData object containing the actual cached content data. Its storage policy determines whether the response should be cached on disk, in memory, or not at all.
Cached responses also contain a user info dictionary where you can store app-specific information about the cached item.
The NSURLCacheMBS class stores and retrieves instances of NSCachedURLResponseMBS.
- 5 properties
- 2 methods
- 3 constants
Allow caching only in memory.
Caching is not allowed.
This class has no sub classes.
Some methods using this class:
- NSURLCacheMBS.cachedResponseForRequest(request as NSURLRequestMBS) as NSCachedURLResponseMBS
- NSURLCacheMBS.storeCachedResponse(cachedResponse as NSCachedURLResponseMBS, request as NSURLRequestMBS)
Some events for this class:
- NSURLConnectionMBS.willCacheResponse(cachedResponse as NSCachedURLResponseMBS) as NSCachedURLResponseMBS
The items on this page are in the following plugins: MBS MacBase Plugin.
MBS Xojo Plugins