Skip to content
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

Restsharp - method not found RestRequest.set_ResponseWriter #38

Open
troncomputers opened this issue Sep 11, 2023 · 5 comments
Open

Restsharp - method not found RestRequest.set_ResponseWriter #38

troncomputers opened this issue Sep 11, 2023 · 5 comments

Comments

@troncomputers
Copy link

I am getting an error
Method not found: 'Void RestSharp.RestRequest.set_ResponseWriter(System.Func'2<System.IO.Stream,System.IO.Stream>)'.
with code:

            var smsClient = new ClientOAuth("token");
            var smsApi = new SMSFactory(smsClient, ProxyAddress.SmsApiPl);

            var results = await smsApi.ActionSend()
                .SetText("TEST MESSAGE")
                .SetTo("phone_number")
                .SetSender("sender")
                .ExecuteAsync();

            var status = results.List;
@ptrkudla
Copy link
Collaborator

Hello,

Thank you for your report, I forwarded it to our IT department for verification.

@jakublabno
Copy link
Collaborator

Hello, please let us know about the version of library and RestSharp you are using.

@troncomputers
Copy link
Author

Restsharp 110.2.0
SmsApi 2.2.0
Project WinForms
Framework .NET 7

@jakublabno
Copy link
Collaborator

We're developing version version 3, which will not contain RestSharp as it's problematic, this feature works on earlier version and also works in the newest one.

@alexmbra
Copy link

Hi. Is this problem fixed yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants