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
ファイルを表示 Open project: monoman/NugetCracker Class Usage Examples

Private Properties

Property Type Description
EnsureClient IHttpClient
GetResponseUri System.Uri

Public Methods

Method Description
GetResponse ( ) : WebResponse
RedirectedHttpClient ( Uri uri ) : System

Private Methods

Method Description
EnsureClient ( ) : IHttpClient
GetResponseUri ( HttpClient client ) : Uri

Method Details

GetResponse() public method

public GetResponse ( ) : WebResponse
return System.Net.WebResponse

RedirectedHttpClient() public method

public RedirectedHttpClient ( Uri uri ) : System
uri System.Uri
return System