We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 777bf19 commit 7b7950bCopy full SHA for 7b7950b
docs/docs/usage/client.md
@@ -56,7 +56,8 @@ Constructor parameters to configure the `HttpMessageHandler` and default `HttpCl
56
You need to set the `useClientFactory` parameter to `true` in the `RestClient` constructor to enable the factory.
57
58
```csharp
59
-var client = new RestClient("https://api.twitter.com/2", true);
+var options = new RestClientOptions("https://api.twitter.com/2");
60
+var client = new RestClient(options, useClientFactory: true);
61
```
62
63
## Reusing HttpClient
0 commit comments