1 instantiation of HttpSource
NuGet.Protocol (1)
HttpSource\HttpSource.cs (1)
455return new HttpSource(source.PackageSource, factory, throttle);
63 references to HttpSource
NuGet.Protocol (63)
DependencyInfo\RegistrationUtility.cs (1)
32HttpSource httpSource,
DependencyInfo\ResolverMetadataClient.cs (2)
27HttpSource httpClient, 118HttpSource 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)
30/// The throttle to apply to all <see cref="HttpSource"/> HTTP requests. 68packageSource => new HttpSourceResource(HttpSource.Create(source, throttle)));
LegacyFeed\AutoCompleteResourceV2Feed.cs (1)
21private readonly HttpSource _httpSource;
LegacyFeed\ODataServiceDocumentResourceV2Provider.cs (1)
59var client = (await source.GetResourceAsync<HttpSourceResource>(token)).HttpSource;
LegacyFeed\ODataServiceDocumentUtils.cs (1)
20HttpSource client,
LegacyFeed\PackageMetadataResourceV2Feed.cs (1)
18private readonly HttpSource _httpSource;
LegacyFeed\PackageSearchResourceV2Feed.cs (1)
17private readonly HttpSource _httpSource;
LegacyFeed\V2FeedParser.cs (3)
62private readonly HttpSource _httpSource; 71public V2FeedParser(HttpSource httpSource, string baseAddress) 82public 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)
66var client = httpSourceResource.HttpSource;
Providers\ServiceIndexResourceV3Provider.cs (1)
127var 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 (2)
24private readonly HttpSource _client; 33public DependencyInfoResourceV3(HttpSource client, RegistrationResourceV3 regResource, SourceRepository source)
Resources\DownloadResourceV3.cs (4)
24private readonly HttpSource _client; 30public DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource) 45public DownloadResourceV3(string source, HttpSource client, string packageBaseAddress) 57private DownloadResourceV3(HttpSource client)
Resources\PackageMetadataResourceV3.cs (5)
28private readonly HttpSource _client; 31HttpSource client, 43HttpSource client, 192HttpSource httpSource, 233HttpSource httpSource,
Resources\PackageSearchResourceV3.cs (3)
22private readonly HttpSource _client; 36internal PackageSearchResourceV3(HttpSource client, IEnumerable<Uri> searchEndpoints) 190Func<HttpSource, Uri, Task<T>> getResultAsync,
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)
25private readonly HttpSource _client; 27public 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,