Creates a new
HttpClient instance that uses a custom message handler.
- Namespace
- Statiq
.Core - Containing Type
- Engine
- Implements
Syntax
public 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. |