In a constructor for ApiClient, a RestClient is newed up as follows:
RestClient = new RestClient(options: new RestClientOptions() { BaseUrl = new Uri("https://play.orkes.io/api"), MaxTimeout = timeOut });
The option property "MaxTimeout" was marked obsolete with backwards compatibility up through RestSharp v112.
https://restsharp.dev/docs/v111/changelog/#v1110 RestSharp v113 and beyond no longer support this backwards compatibility.
The newer versions use public TimeSpan? Timeout { get; set; }
I'm requesting this be updated to something functionally along the lines of:
RestClient = new RestClient(options: new RestClientOptions
{
BaseUrl = new Uri("https://play.orkes.io/api"),
Timeout = TimeSpan.FromMilliseconds(timeOut)
});
in order to be compatible with the latest versions of RestSharp.
Thanks!
In a constructor for ApiClient, a RestClient is newed up as follows:
The option property "MaxTimeout" was marked obsolete with backwards compatibility up through RestSharp v112.
https://restsharp.dev/docs/v111/changelog/#v1110 RestSharp v113 and beyond no longer support this backwards compatibility.
The newer versions use
public TimeSpan? Timeout { get; set; }I'm requesting this be updated to something functionally along the lines of:
in order to be compatible with the latest versions of RestSharp.
Thanks!