Table of Contents

Class HttpSourceCachedRequest

Namespace
NuGet.Protocol
Assembly
NuGet.Protocol.dll
public class HttpSourceCachedRequest
Inheritance
HttpSourceCachedRequest
Inherited Members
Extension Methods

Constructors

HttpSourceCachedRequest(string, string, HttpSourceCacheContext)

public HttpSourceCachedRequest(string uri, string cacheKey, HttpSourceCacheContext cacheContext)

Parameters

uri string
cacheKey string
cacheContext HttpSourceCacheContext

Properties

AcceptHeaderValues

public IList<MediaTypeWithQualityHeaderValue> AcceptHeaderValues { get; }

Property Value

IList<MediaTypeWithQualityHeaderValue>

CacheContext

public HttpSourceCacheContext CacheContext { get; }

Property Value

HttpSourceCacheContext

CacheKey

public string CacheKey { get; }

Property Value

string

DownloadTimeout

public TimeSpan DownloadTimeout { get; set; }

Property Value

TimeSpan

EnsureValidContents

public Action<Stream> EnsureValidContents { get; set; }

Property Value

Action<Stream>

IgnoreNotFounds

public bool IgnoreNotFounds { get; set; }

Property Value

bool

IsLastAttempt

public bool IsLastAttempt { get; set; }

Property Value

bool

IsRetry

public bool IsRetry { get; set; }

Property Value

bool

MaxTries

public int MaxTries { get; set; }

Property Value

int

RequestTimeout

public TimeSpan RequestTimeout { get; set; }

Property Value

TimeSpan

Uri

public string Uri { get; }

Property Value

string