-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New version of RestSharp #32
Comments
Hello, Thank you for your report, I forwarded it to our IT department. Best regards, |
@tomaszlis86 They've restored this in version 110, however I don't know if the world is ready to abandon our support for .net 5 - new version of RestSharp requires .net >=6. |
Well, if you ever decide to push to newer version of RestSharp, I have discovered some issues with that as well. "Message":"Failed to get response from https://smsapi.io/sms.do","Data":{},"InnerException":{"ClassName":"System.ObjectDisposedException","Message":"Cannot access a closed Stream.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.IO.MemoryStream.Read(Byte[] buffer, Int32 offset, Int32 count)\n at System.IO.MemoryStream.ReadAsync(Memory |
Hello, please check new version which uses newer RestSharp (109.0.1) library, as per my tests, everything works well - https://www.nuget.org/packages/SMSAPI.pl/2.2.0 |
On 13.03.2023 was released new version of RestSharp (109.0.1) with changes to the RestClient and RestClientOptions.
This results in errors in ProxyHTTP.cs.
In lines 60, 101 - BuildUri method is no longer public on RestClient.
In line 145 - Authenticator has been moved from RestClient to RestClientOptions.
As for BuildUri there is discussion going, however as I see, it probably won't be accessible if only used for logging purposes.
restsharp/RestSharp#2026
The text was updated successfully, but these errors were encountered: