1 instantiation of HttpSource
NuGet.Protocol (1)
HttpSource\HttpSource.cs (1)
457return new HttpSource(source.PackageSource, factory, throttle);
68 references to HttpSource
NuGet.Protocol (68)
DependencyInfo\RegistrationUtility.cs (2)
36HttpSource httpSource, 117HttpSource httpSource,
DependencyInfo\ResolverMetadataClient.cs (4)
29HttpSource httpClient, 55HttpSource httpClient, 92HttpSource httpClient, 220HttpSource httpClient,
HttpSource\HttpSource.cs (2)
436public static HttpSource Create(SourceRepository source) 441public 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)
14public HttpSourceResource(HttpSource httpSource) 19public HttpSource HttpSource { get; }
HttpSource\HttpSourceResourceProvider.cs (2)
28/// The throttle to apply to all <see cref="HttpSource"/> HTTP requests. 66packageSource => new HttpSourceResource(HttpSource.Create(source, throttle)));
LegacyFeed\AutoCompleteResourceV2Feed.cs (1)
23private readonly HttpSource _httpSource;
LegacyFeed\ODataServiceDocumentResourceV2Provider.cs (1)
57var client = (await source.GetResourceAsync<HttpSourceResource>(token))!.HttpSource;
LegacyFeed\ODataServiceDocumentUtils.cs (1)
18HttpSource client,
LegacyFeed\PackageMetadataResourceV2Feed.cs (1)
18private readonly HttpSource _httpSource;
LegacyFeed\PackageSearchResourceV2Feed.cs (1)
17private readonly HttpSource _httpSource;
LegacyFeed\V2FeedParser.cs (3)
60private readonly HttpSource _httpSource; 69public V2FeedParser(HttpSource httpSource, string baseAddress) 80public V2FeedParser(HttpSource httpSource, string baseAddress, string source)
Providers\DownloadResourceV3Provider.cs (1)
29var client = httpSourceResource.HttpSource;
Providers\PackageUpdateResourceV2Provider.cs (1)
26HttpSource httpSource = null;
Providers\PackageUpdateResourceV3Provider.cs (1)
35HttpSource httpSource = null;
Providers\RepositorySignatureResourceProvider.cs (1)
65var client = httpSourceResource.HttpSource;
Providers\ServiceIndexResourceV3Provider.cs (1)
126var client = httpSourceResource.HttpSource;
Providers\SymbolPackageUpdateResourceV3Provider.cs (1)
32HttpSource httpSource = null;
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (3)
40private readonly HttpSource _httpSource; 61HttpSource httpSource) : this(baseUris, httpSource, EnvironmentVariableWrapper.Instance) { } 65HttpSource httpSource, IEnvironmentVariableReader environmentVariableReader)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (2)
38private readonly HttpSource _httpSource; 56public RemoteV2FindPackageByIdResource(PackageSource packageSource, HttpSource httpSource)
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (2)
33private readonly HttpSource _httpSource; 50public RemoteV3FindPackageByIdResource(SourceRepository sourceRepository, HttpSource httpSource)
Resources\AutoCompleteResourceV3.cs (3)
28internal readonly HttpSource _client; 31public AutoCompleteResourceV3(HttpSource client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource) 36internal AutoCompleteResourceV3(HttpSource client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource, IEnvironmentVariableReader environmentVariableReader)
Resources\DependencyInfoResourceV3.cs (3)
24private readonly HttpSource _client; 34public DependencyInfoResourceV3(HttpSource client, RegistrationResourceV3 regResource, SourceRepository source) 39internal DependencyInfoResourceV3(HttpSource client, RegistrationResourceV3 regResource, SourceRepository source, Common.IEnvironmentVariableReader environmentVariableReader)
Resources\DownloadResourceV3.cs (5)
27private readonly HttpSource _client; 34public DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource) 39internal DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource, IEnvironmentVariableReader environmentVariableReader) 55public DownloadResourceV3(string source, HttpSource client, string packageBaseAddress) 67private DownloadResourceV3(HttpSource client)
Resources\PackageMetadataResourceV3.cs (6)
30private readonly HttpSource _client; 34HttpSource client, 46HttpSource client, 56HttpSource client, 225HttpSource httpSource, 266HttpSource httpSource,
Resources\PackageSearchResourceV3.cs (2)
23private readonly HttpSource _client; 29HttpSource client,
Resources\PackageUpdateResource.cs (2)
40private HttpSource _httpSource; 46HttpSource httpSource)
Resources\RawSearchResourceV3.cs (2)
22private readonly HttpSource _client; 25public RawSearchResourceV3(HttpSource client, IEnumerable<Uri> searchEndpoints)
Resources\RegistrationResourceV3.cs (2)
26private readonly HttpSource _client; 28public RegistrationResourceV3(HttpSource client, Uri baseUrl)
Resources\SymbolPackageUpdateResourceV3.cs (2)
17private HttpSource _httpSource; 21HttpSource httpSource)
Utility\FindPackagesByIdNupkgDownloader.cs (3)
27private readonly HttpSource _httpSource; 30public FindPackagesByIdNupkgDownloader(HttpSource httpSource) : this(httpSource, EnvironmentVariableWrapper.Instance) { } 32internal FindPackagesByIdNupkgDownloader(HttpSource httpSource, IEnvironmentVariableReader environmentVariableReader)
Utility\GetDownloadResultUtility.cs (1)
24HttpSource client,