Class NetCache
- Namespace
- Fusillade
- Assembly
- Fusillade.dll
Handles caching for our Http requests.
public static class NetCache
- Inheritance
-
NetCache
Properties
Background
Gets or sets a scheduler that should be used for requests initiated in the background, and are scheduled at a lower priority.
public static HttpMessageHandler Background { get; set; }
Property Value
Offline
Gets or sets a scheduler that fetches results solely from the cache specified in RequestCache.
public static HttpMessageHandler Offline { get; set; }
Property Value
OperationQueue
Gets or sets a scheduler that should be used for requests initiated in the operationQueue, and are scheduled at a lower priority. You don't need to mess with this.
public static OperationQueue OperationQueue { get; set; }
Property Value
RequestCache
Gets or sets a request cache that if set indicates that HTTP handlers should save and load requests from a cached source.
public static IRequestCache? RequestCache { get; set; }
Property Value
Speculative
Gets or sets a handler of that allow a certain number of bytes to be read before cancelling all future requests. This is designed for reading data that may or may not be used by the user later, in order to improve response times should the user later request the data.
public static LimitingHttpMessageHandler Speculative { get; set; }
Property Value
UserInitiated
Gets or sets a scheduler that should be used for requests initiated by a user action such as clicking an item, they have the highest priority.
public static HttpMessageHandler UserInitiated { get; set; }