IExecutionContext.

CreateHttpClient(HttpMessageHandler) Method

Summary

Creates a new System.Net.Http.HttpClient instance that uses a custom message handler.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Execution
Containing Type
IExecutionContext

Syntax

HttpClient CreateHttpClient(HttpMessageHandler handler)

Parameters

Name Type Description
handler HttpMessageHandler The message handler to use for this client.

Return Value

Type Description
HttpClient A new System.Net.Http.HttpClient instance.
GitHub