1 instantiation of HttpSource
NuGet.Protocol (1)
HttpSource\HttpSource.cs (1)
455
return new
HttpSource
(source.PackageSource, factory, throttle);
63 references to HttpSource
NuGet.Protocol (63)
DependencyInfo\RegistrationUtility.cs (1)
32
HttpSource
httpSource,
DependencyInfo\ResolverMetadataClient.cs (2)
27
HttpSource
httpClient,
118
HttpSource
httpClient,
HttpSource\HttpSource.cs (2)
436
public static
HttpSource
Create(SourceRepository source)
441
public static
HttpSource
Create(SourceRepository source, IThrottle throttle)
HttpSource\HttpSourceCachedRequest.cs (2)
14
/// A cached HTTP request handled by <see cref="
HttpSource
"/>.
80
/// <see cref="
HttpSource
"/> only uses <see cref="HttpCompletionOption.ResponseHeadersRead"/>,
HttpSource\HttpSourceRequest.cs (2)
11
/// A non-cached HTTP request handled by <see cref="
HttpSource
"/>.
51
/// <see cref="
HttpSource
"/> only uses <see cref="HttpCompletionOption.ResponseHeadersRead"/>,
HttpSource\HttpSourceResource.cs (2)
14
public HttpSourceResource(
HttpSource
httpSource)
19
public
HttpSource
HttpSource { get; }
HttpSource\HttpSourceResourceProvider.cs (2)
30
/// The throttle to apply to all <see cref="
HttpSource
"/> HTTP requests.
68
packageSource => new HttpSourceResource(
HttpSource
.Create(source, throttle)));
LegacyFeed\AutoCompleteResourceV2Feed.cs (1)
21
private readonly
HttpSource
_httpSource;
LegacyFeed\ODataServiceDocumentResourceV2Provider.cs (1)
59
var
client = (await source.GetResourceAsync<HttpSourceResource>(token)).HttpSource;
LegacyFeed\ODataServiceDocumentUtils.cs (1)
20
HttpSource
client,
LegacyFeed\PackageMetadataResourceV2Feed.cs (1)
18
private readonly
HttpSource
_httpSource;
LegacyFeed\PackageSearchResourceV2Feed.cs (1)
17
private readonly
HttpSource
_httpSource;
LegacyFeed\V2FeedParser.cs (3)
62
private readonly
HttpSource
_httpSource;
71
public V2FeedParser(
HttpSource
httpSource, string baseAddress)
82
public V2FeedParser(
HttpSource
httpSource, string baseAddress, string source)
Providers\DownloadResourceV3Provider.cs (1)
29
var
client = httpSourceResource.HttpSource;
Providers\PackageUpdateResourceV2Provider.cs (1)
26
HttpSource
httpSource = null;
Providers\PackageUpdateResourceV3Provider.cs (1)
35
HttpSource
httpSource = null;
Providers\RepositorySignatureResourceProvider.cs (1)
66
var
client = httpSourceResource.HttpSource;
Providers\ServiceIndexResourceV3Provider.cs (1)
127
var
client = httpSourceResource.HttpSource;
Providers\SymbolPackageUpdateResourceV3Provider.cs (1)
32
HttpSource
httpSource = null;
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (3)
40
private readonly
HttpSource
_httpSource;
61
HttpSource
httpSource) : this(baseUris, httpSource, EnvironmentVariableWrapper.Instance) { }
65
HttpSource
httpSource, IEnvironmentVariableReader environmentVariableReader)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (2)
38
private readonly
HttpSource
_httpSource;
56
public RemoteV2FindPackageByIdResource(PackageSource packageSource,
HttpSource
httpSource)
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (2)
33
private readonly
HttpSource
_httpSource;
50
public RemoteV3FindPackageByIdResource(SourceRepository sourceRepository,
HttpSource
httpSource)
Resources\AutoCompleteResourceV3.cs (3)
28
internal readonly
HttpSource
_client;
31
public AutoCompleteResourceV3(
HttpSource
client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource)
36
internal AutoCompleteResourceV3(
HttpSource
client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource, IEnvironmentVariableReader environmentVariableReader)
Resources\DependencyInfoResourceV3.cs (2)
24
private readonly
HttpSource
_client;
33
public DependencyInfoResourceV3(
HttpSource
client, RegistrationResourceV3 regResource, SourceRepository source)
Resources\DownloadResourceV3.cs (4)
24
private readonly
HttpSource
_client;
30
public DownloadResourceV3(string source,
HttpSource
client, RegistrationResourceV3 regResource)
45
public DownloadResourceV3(string source,
HttpSource
client, string packageBaseAddress)
57
private DownloadResourceV3(
HttpSource
client)
Resources\PackageMetadataResourceV3.cs (5)
28
private readonly
HttpSource
_client;
31
HttpSource
client,
43
HttpSource
client,
192
HttpSource
httpSource,
233
HttpSource
httpSource,
Resources\PackageSearchResourceV3.cs (3)
22
private readonly
HttpSource
_client;
36
internal PackageSearchResourceV3(
HttpSource
client, IEnumerable<Uri> searchEndpoints)
190
Func<
HttpSource
, Uri, Task<T>> getResultAsync,
Resources\PackageUpdateResource.cs (2)
40
private
HttpSource
_httpSource;
46
HttpSource
httpSource)
Resources\RawSearchResourceV3.cs (2)
22
private readonly
HttpSource
_client;
25
public RawSearchResourceV3(
HttpSource
client, IEnumerable<Uri> searchEndpoints)
Resources\RegistrationResourceV3.cs (2)
25
private readonly
HttpSource
_client;
27
public RegistrationResourceV3(
HttpSource
client, Uri baseUrl)
Resources\SymbolPackageUpdateResourceV3.cs (2)
17
private
HttpSource
_httpSource;
21
HttpSource
httpSource)
Utility\FindPackagesByIdNupkgDownloader.cs (3)
27
private readonly
HttpSource
_httpSource;
30
public FindPackagesByIdNupkgDownloader(
HttpSource
httpSource) : this(httpSource, EnvironmentVariableWrapper.Instance) { }
32
internal FindPackagesByIdNupkgDownloader(
HttpSource
httpSource, IEnvironmentVariableReader environmentVariableReader)
Utility\GetDownloadResultUtility.cs (1)
24
HttpSource
client,