-
Notifications
You must be signed in to change notification settings - Fork 6
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
The request message was already sent. Cannot send the same request message multiple times. #95
Comments
Hi, As you know, the error message mentions that the same parameter is used twice as the request parameter. This position is wrong in your sample code. ...
var response = await client.SendAsync(request);
response = await client.SendAsync(request);
... |
Attention! Not safe! To demonstrate internal implementation:
Better use, for example, a property with expression-bodied property:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I have the following code producing an error "The request message was already sent. Cannot send the same request message multiple times."
what is the fix because I assumed the code would work out of box...
`
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using System.Threading.Tasks;
using Medidata.MAuth.Core;
namespace Medidata
{
public class RequestExample
{
}
`
The text was updated successfully, but these errors were encountered: