22 references to SendRequestAsync
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (22)
ResponseSendFileTests.cs (22)
55HttpResponseMessage response = await SendRequestAsync(address); 71HttpResponseMessage response = await SendRequestAsync(address); 90HttpResponseMessage response = await SendRequestAsync(address); 109var response = await SendRequestAsync(address); 129var response = await SendRequestAsync(address); 148var response = await SendRequestAsync(address); 170var response = await SendRequestAsync(address); 189var response = await SendRequestAsync(address); 205var response = await SendRequestAsync(address); 225var response = await SendRequestAsync(address); 246var response = await SendRequestAsync(address); 267var response = await SendRequestAsync(address); 294var response = await SendRequestAsync(address); 320var response = await SendRequestAsync(address); 344var response = await SendRequestAsync(address); 362var response = await SendRequestAsync(address); 391await Assert.ThrowsAsync<HttpRequestException>(() => SendRequestAsync(address)); 419await Assert.ThrowsAsync<HttpRequestException>(() => SendRequestAsync(address)); 446await Assert.ThrowsAsync<HttpRequestException>(() => SendRequestAsync(address)); 473await Assert.ThrowsAsync<HttpRequestException>(() => SendRequestAsync(address)); 519var responseTask = SendRequestAsync(address, cts.Token); 562var responseTask = SendRequestAsync(address, cts.Token);