C# Class Westwind.Utilities.HttpUtilsWebClient

Customized version of WebClient that provides access to the Response object so we can read result data from the Response.
Inheritance: System.Net.WebClient
Exibir arquivo Open project: RickStrahl/WestwindToolkit Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
HttpUtilsWebClient ( HttpRequestSettings settings = null ) : System

Intializes this instance of WebClient with settings values

Protected Methods

Method Description
GetWebRequest ( Uri address ) : WebRequest
GetWebResponse ( WebRequest request ) : WebResponse
GetWebResponse ( WebRequest request, System result ) : WebResponse

Method Details

GetWebRequest() protected method

protected GetWebRequest ( Uri address ) : WebRequest
address System.Uri
return System.Net.WebRequest

GetWebResponse() protected method

protected GetWebResponse ( WebRequest request ) : WebResponse
request System.Net.WebRequest
return System.Net.WebResponse

GetWebResponse() protected method

protected GetWebResponse ( WebRequest request, System result ) : WebResponse
request System.Net.WebRequest
result System
return System.Net.WebResponse

HttpUtilsWebClient() public method

Intializes this instance of WebClient with settings values
public HttpUtilsWebClient ( HttpRequestSettings settings = null ) : System
settings HttpRequestSettings
return System