C# Class IronPigeon.Providers.HttpClientWrapper

A simple MEF part that wraps an HttpMessageHandler in a new HttpClient for all importers.
Show file Open project: AArnott/IronPigeon

Public Properties

Property Type Description
DefaultTimeoutInitValue System.TimeSpan

Public Methods

Method Description
HttpClientWrapper ( ) : System

Initializes a new instance of the HttpClientWrapper class.

HttpClientWrapper ( HttpMessageHandler messageHandler ) : System

Initializes a new instance of the HttpClientWrapper class.

Method Details

HttpClientWrapper() public method

Initializes a new instance of the HttpClientWrapper class.
public HttpClientWrapper ( ) : System
return System

HttpClientWrapper() public method

Initializes a new instance of the HttpClientWrapper class.
public HttpClientWrapper ( HttpMessageHandler messageHandler ) : System
messageHandler System.Net.Http.HttpMessageHandler The message handler.
return System

Property Details

DefaultTimeoutInitValue public static property

The default timeout.
public static TimeSpan,System DefaultTimeoutInitValue
return System.TimeSpan