public HttpCache(long maxSize) { _maxSize = maxSize; _unmanagedBuffersPool = new UnmanagedBuffersPool(nameof(HttpCache), "Client"); LowMemoryNotification.Instance.RegisterLowMemoryHandler(this); }
public HttpCache(long maxSize = 1024 * 1024L * 512L) { _maxSize = maxSize; _unmanagedBuffersPool = new UnmanagedBuffersPool(nameof(HttpCache), "Client"); }