Platforms to show: All Mac Windows Linux Cross-Platform

NSCachedURLResponseMBS class

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
Function: A cached response to a URL request.
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.

Feedback, Comments & Corrections

Storage Policies

Constant Value Description
kCacheStorageAllowed 0 Allow caching.
kCacheStorageAllowedInMemoryOnly 1 Allow caching only in memory.
kCacheStorageNotAllowed 1 Caching is not allowed.

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS MacBase Plugin.

NSButtonMBS   -   NSCalendarMBS

The biggest plugin in space...

MBS Xojo Chart Plugins