1 instantiation of HttpSource
NuGet.Protocol (1)
HttpSource\HttpSource.cs (1)
457return new HttpSource(source.PackageSource, factory, throttle);
71 references to HttpSource
NuGet.Protocol (71)
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)
29/// The throttle to apply to all <see cref="HttpSource"/> HTTP requests. 78packageSource => new HttpSourceResource(HttpSource.Create(source, throttle)));
LegacyFeed\AutoCompleteResourceV2Feed.cs (1)
21private 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)
16private readonly HttpSource _httpSource;
LegacyFeed\PackageSearchResourceV2Feed.cs (1)
15private 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)
28var client = httpSourceResource.HttpSource;
Providers\PackageUpdateResourceV2Provider.cs (1)
24HttpSource? httpSource = null;
Providers\PackageUpdateResourceV3Provider.cs (1)
33HttpSource? httpSource = null;
Providers\RepositorySignatureResourceProvider.cs (1)
65var client = httpSourceResource.HttpSource;
Providers\ServiceIndexResourceV3Provider.cs (1)
126var client = httpSourceResource.HttpSource;
Providers\SymbolPackageUpdateResourceV3Provider.cs (1)
30HttpSource? 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)
36private readonly HttpSource _httpSource; 54public RemoteV2FindPackageByIdResource(PackageSource packageSource, HttpSource httpSource)
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (2)
31private readonly HttpSource _httpSource; 48public RemoteV3FindPackageByIdResource(SourceRepository sourceRepository, HttpSource httpSource)
Resources\AutoCompleteResourceV3.cs (3)
26internal readonly HttpSource _client; 29public AutoCompleteResourceV3(HttpSource client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource) 34internal AutoCompleteResourceV3(HttpSource client, ServiceIndexResourceV3 serviceIndex, RegistrationResourceV3 regResource, IEnvironmentVariableReader? environmentVariableReader)
Resources\DependencyInfoResourceV3.cs (3)
22private readonly HttpSource _client; 32public DependencyInfoResourceV3(HttpSource client, RegistrationResourceV3 regResource, SourceRepository source) 37internal DependencyInfoResourceV3(HttpSource client, RegistrationResourceV3 regResource, SourceRepository source, Common.IEnvironmentVariableReader? environmentVariableReader)
Resources\DownloadResourceV3.cs (5)
25private readonly HttpSource _client; 32public DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource) 37internal DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource, IEnvironmentVariableReader? environmentVariableReader) 52public DownloadResourceV3(string source, HttpSource client, string packageBaseAddress) 63private DownloadResourceV3(string source, HttpSource client)
Resources\PackageMetadataResourceV3.cs (6)
28private readonly HttpSource _client; 32HttpSource client, 44HttpSource client, 54HttpSource client, 223HttpSource httpSource, 264HttpSource httpSource,
Resources\PackageSearchResourceV3.cs (2)
23private readonly HttpSource _client; 29HttpSource client,
Resources\PackageUpdateResource.cs (5)
39private HttpSource? _httpSource; 45HttpSource? httpSource) 424HttpSource httpSource, 752HttpSource httpSource, 910HttpSource httpSource,
Resources\RawSearchResourceV3.cs (2)
20private readonly HttpSource _client; 23public RawSearchResourceV3(HttpSource client, IEnumerable<Uri> searchEndpoints)
Resources\RegistrationResourceV3.cs (2)
24private readonly HttpSource _client; 26public RegistrationResourceV3(HttpSource client, Uri baseUrl)
Resources\SymbolPackageUpdateResourceV3.cs (2)
15private HttpSource? _httpSource; 19HttpSource? 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,