C# Class NuGet.RedirectedHttpClient

This class should be used when ever you are using a link that is actually redirecting to the destination link that you want to use as the data source. A good example of that is a link that forwards like the current nuget link that is configured as a default location for nuget packages.
Inheritance: HttpClient
Afficher le fichier Open project: monoman/NugetCracker Class Usage Examples

Private Properties

Свойство Type Description
EnsureClient IHttpClient
GetResponseUri System.Uri

Méthodes publiques

Méthode Description
GetResponse ( ) : WebResponse
RedirectedHttpClient ( Uri uri ) : System

Private Methods

Méthode Description
EnsureClient ( ) : IHttpClient
GetResponseUri ( HttpClient client ) : Uri

Method Details

GetResponse() public méthode

public GetResponse ( ) : WebResponse
Résultat System.Net.WebResponse

RedirectedHttpClient() public méthode

public RedirectedHttpClient ( Uri uri ) : System
uri System.Uri
Résultat System