Skip to content

Commit 23739fe

Browse files
Add migration note about MaxTimeout to Timeout property
Co-authored-by: alexeyzimarev <[email protected]>
1 parent 3071c69 commit 23739fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/advanced/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ The table below contains all configuration properties of `RestRequest`. To learn
233233

234234
RestSharp provides flexible timeout configuration at both the client and request levels. The timeout determines how long RestSharp will wait for a response before canceling the request.
235235

236+
:::note Migration from MaxTimeout
237+
In older versions of RestSharp, the `MaxTimeout` property (measured in milliseconds) was used. This has been replaced by the `Timeout` property, which uses `TimeSpan` for more intuitive and type-safe timeout configuration.
238+
:::
239+
236240
### Timeout Resolution
237241

238242
When making a request, RestSharp uses the following priority order to determine the timeout:

0 commit comments

Comments
 (0)