C# Class Hobsons.WebApiHelpers.EnricherHttpMessageHandler

The enricher http message handler.
Inheritance: System.Net.Http.DelegatingHandler
Show file Open project: HobsonsEMSTechnology/WebApiHelpers

Public Methods

Method Description
EnricherHttpMessageHandler ( IEnumerable responseEnrichers ) : System.Collections.Generic

Initialises a new instance of the EnricherHttpMessageHandler class.

Protected Methods

Method Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Override default sendAsync.

Method Details

EnricherHttpMessageHandler() public method

Initialises a new instance of the EnricherHttpMessageHandler class.
public EnricherHttpMessageHandler ( IEnumerable responseEnrichers ) : System.Collections.Generic
responseEnrichers IEnumerable /// The response enrichers. ///
return System.Collections.Generic

SendAsync() protected method

Override default sendAsync.
protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage /// The request. ///
cancellationToken System.Threading.CancellationToken /// The cancellation token. ///
return Task