47 references to SendAsync
Microsoft.AspNetCore.Cors.Test (10)
CorsMiddlewareTests.cs (10)
53
.
SendAsync
(accessControlRequestMethod);
95
.
SendAsync
("PUT");
146
.
SendAsync
(preflightMethod);
196
.
SendAsync
(CorsConstants.PreflightHttpMethod);
262
.
SendAsync
(CorsConstants.PreflightHttpMethod);
324
.
SendAsync
(CorsConstants.PreflightHttpMethod);
366
.
SendAsync
("PUT");
483
.
SendAsync
(CorsConstants.PreflightHttpMethod);
540
.
SendAsync
("PUT");
616
.
SendAsync
("PUT");
Microsoft.AspNetCore.Routing.FunctionalTests (13)
EndpointRoutingIntegrationTest.cs (10)
56
var response = await server.CreateRequest("/").
SendAsync
("GET");
88
var response = await server.CreateRequest("/not-found").
SendAsync
("GET");
120
var response = await server.CreateRequest("/").
SendAsync
("GET");
152
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.CreateRequest("/").
SendAsync
("GET"));
181
var response = await server.CreateRequest("/not-found").
SendAsync
("GET");
213
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.CreateRequest("/").
SendAsync
("GET"));
244
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.CreateRequest("/").
SendAsync
("GET"));
275
var response = await server.CreateRequest("/").
SendAsync
("PUT");
311
var response = await request.
SendAsync
(HttpMethods.Options);
343
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.CreateRequest("/").
SendAsync
("GET"));
ShortCircuitTests.cs (3)
52
var response = await server.CreateRequest("/shortcircuit").
SendAsync
("GET");
90
var response1 = await server.CreateRequest("/shortcircuit").
SendAsync
("GET");
94
var response2 = await server.CreateRequest("/shortcircuit/whatever").
SendAsync
("GET");
Microsoft.AspNetCore.StaticFiles.Tests (24)
CacheHeaderTests.cs (21)
192
.
SendAsync
(method.Method);
198
.
SendAsync
(method.Method);
211
.
SendAsync
(method.Method);
217
.
SendAsync
(method.Method);
224
.
SendAsync
(method.Method);
237
.
SendAsync
(method.Method);
247
.
SendAsync
(method.Method);
253
.
SendAsync
(method.Method);
259
.
SendAsync
(method.Method);
288
.
SendAsync
(method.Method);
303
.
SendAsync
(method.Method);
324
.
SendAsync
(method.Method);
329
.
SendAsync
(method.Method);
342
.
SendAsync
(method.Method);
356
.
SendAsync
(method.Method);
371
.
SendAsync
(method.Method);
376
.
SendAsync
(method.Method);
391
.
SendAsync
(method.Method);
406
.
SendAsync
(method.Method);
420
.
SendAsync
(method.Method);
425
.
SendAsync
(method.Method);
DirectoryBrowserMiddlewareTests.cs (1)
368
var response = await server.CreateRequest(requestUrl).
SendAsync
("HEAD");
StaticFileMiddlewareTests.cs (2)
479
var response = await server.CreateRequest(requestUrl).
SendAsync
("HEAD");
538
var response = await server.CreateRequest(requestUrl).
SendAsync
(method);