While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

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