CreateHttpClient(HttpMessageHandler) Method
Creates a new HttpClient instance that uses a custom message handler.
Namespace
Statiq.Common
Containing Type
IExecutionState

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 HttpClient instance.