Kampute.HttpClient.Utilities Namespace

This namespace contains utility classes and extensions for managing shared resources, caching, and asynchronous operations.

Classes

AsyncUpdateThrottle<T>Manages thread-safe, asynchronous updates to a value, ensuring efficiency by reducing unnecessary update operations.
ExceptionExtensionsProvides extension methods for Exception to enhance functionality related to HTTP request execution.
FlyweightCache<TKey, TValue>Provides a thread-safe cache for efficiently retrieving and lazily adding key-value pairs.
ScopedCollection<T>Manages items within specific contexts.
ScopedCollection<T>.ScopeRepresents a scope containing items within a specific context.
SharedDisposable<T>Manages shared access to a disposable resource, ensuring it is correctly disposed of when no longer in use.
SharedDisposable<T>.ReferenceRepresents a reference to the shared disposable resource.
SharedHttpClientProvides a singleton-like access to a shared HttpClient instance across the application.