0

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?

user3646098
  • 299
  • 3
  • 14

0 Answers0