private NameValueCollection GetFormData(HttpContent content)
 {
     Task<NameValueCollection> ReadTask = content.ReadAsFormDataAsync();
     return ReadTask.Result;
 }
Exemplo n.º 2
0
 public static async Task<NameValueCollection> awaitReadFormData(HttpContent content)
 {
     return await content.ReadAsFormDataAsync();
 }