We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887c566 commit d73292bCopy full SHA for d73292b
src/RestSharp/RestClient.cs
@@ -75,7 +75,7 @@ public RestClient(Uri baseUrl) : this(new RestClientOptions { BaseUrl = baseUrl
75
public RestClient(string baseUrl) : this(new Uri(Ensure.NotEmptyString(baseUrl, nameof(baseUrl)))) { }
76
77
public RestClient(HttpClient httpClient, RestClientOptions? options = null, bool disposeHttpClient = false) {
78
- if (Options?.CookieContainer != null) {
+ if (options?.CookieContainer != null) {
79
throw new ArgumentException("Custom cookie container cannot be added to the HttpClient instance", nameof(options.CookieContainer));
80
}
81
0 commit comments