53 references to SendAsync
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
EventTests.cs (1)
459
return server.
SendAsync
(context =>
NegotiateHandlerTests.cs (1)
482
return server.
SendAsync
(context =>
Microsoft.AspNetCore.CookiePolicy.Test (1)
CookieConsentTests.cs (1)
725
return await server.
SendAsync
(configureRequest);
Microsoft.AspNetCore.HostFiltering.Tests (1)
HostFilteringMiddlewareTests.cs (1)
34
await Assert.ThrowsAsync<InvalidOperationException>(() => host.GetTestServer().
SendAsync
(_ => { }));
Microsoft.AspNetCore.HttpOverrides.Tests (34)
CertificateForwardingTest.cs (5)
69
var context = await server.
SendAsync
(c =>
108
var context = await server.
SendAsync
(c =>
146
var context = await server.
SendAsync
(c =>
184
var context = await server.
SendAsync
(c =>
222
var context = await server.
SendAsync
(c =>
ForwardedHeadersMiddlewareTest.cs (29)
38
var context = await server.
SendAsync
(c =>
74
var context = await server.
SendAsync
(c =>
132
var context = await server.
SendAsync
(c =>
170
var context = await server.
SendAsync
(c =>
243
var context = await server.
SendAsync
(c =>
275
var context = await server.
SendAsync
(c =>
304
var context = await server.
SendAsync
(c =>
376
await server.
SendAsync
(c =>
461
await server.
SendAsync
(c =>
511
var response = await server.
SendAsync
(ctx =>
562
var response = await server.
SendAsync
(ctx =>
598
var response = await server.
SendAsync
(ctx =>
634
var context = await server.
SendAsync
(c =>
688
await server.
SendAsync
(c =>
745
await server.
SendAsync
(c =>
783
var context = await server.
SendAsync
(c =>
825
var context = await server.
SendAsync
(c =>
875
var context = await server.
SendAsync
(c =>
916
var context = await server.
SendAsync
(c =>
951
var context = await server.
SendAsync
(c =>
986
var context = await server.
SendAsync
(c =>
1040
var context = await server.
SendAsync
(c =>
1079
var context = await server.
SendAsync
(c =>
1116
var context = await server.
SendAsync
(c =>
1155
var context = await server.
SendAsync
(c =>
1197
var context = await server.
SendAsync
(c =>
1233
var context = await server.
SendAsync
(c =>
1277
var context = await server.
SendAsync
(c =>
1323
var context = await server.
SendAsync
(c =>
Microsoft.AspNetCore.TestHost.Tests (15)
HttpContextBuilderTests.cs (15)
23
var context = await server.
SendAsync
(c =>
54
var context = await server.
SendAsync
(c =>
68
var context = await server.
SendAsync
(c =>
89
var context = await server.
SendAsync
(c => { });
107
var task = server.
SendAsync
(c => { });
135
var context = await server.
SendAsync
(c => { });
159
var context = await server.
SendAsync
(c => { });
183
var context = await server.
SendAsync
(c => { });
205
var context = await server.
SendAsync
(c => { });
232
var contextTask = server.
SendAsync
(c => { }, cts.Token);
254
var context = await server.
SendAsync
(c => { });
277
return Assert.ThrowsAsync<InvalidOperationException>(() => server.
SendAsync
(c => { }));
295
var context = await server.
SendAsync
(c => { });
324
var ctx = await server.
SendAsync
(c => { });
343
var ex = await Assert.ThrowsAsync<OperationCanceledException>(() => server.
SendAsync
(c => { }));