In my method:
void myMethod()
{
// other stuff
client.PostAsync(url, content);
}
I want to post something and don't leave myMethod
before sending data. It's not possible to make myMethod
an async method, so how to wait until data has sent completely before leaving myMethod
?
No comments:
Post a Comment