Hi. I am upgrading from an old version of RestSharp to latest and came across the `AddCookies` method. Unfortunately, the doc points to [a method with 2 parameters](https://github.com/restsharp/RestSharp/blob/58180e8ce15fb7b1ba9ac6f1ffd92aa5f3e96723/docs/versioned_docs/version-v111/usage/request.md?plain=1#L208), whereas the [method requires 4 parameters](https://github.com/restsharp/RestSharp/blob/58180e8ce15fb7b1ba9ac6f1ffd92aa5f3e96723/src/RestSharp/Request/RestRequestExtensions.cs#L142) Any ideas on this discrepancy?
Activity
alexeyzimarev commentedon Nov 28, 2025
It was a contribution that involved refactoring cookies but the author didn't update the docs.
AugustinSeguin commentedon Dec 17, 2025
I created a PR here: #2333 to update docs
Restore 2-param AddCookie(name, value) overload
Restore 2-param AddCookie(name, value) overload (#2351)