Creates a new
HttpClient
instance that uses a custom message handler.
- Namespace
- Statiq
.Testing - Containing Type
- TestEngine
- 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. |