82 references to AcceptAsync
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (82)
Listener\AuthenticationOnExistingQueueTests.cs (7)
62
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
85
var contextTask = server.
AcceptAsync
(Utilities.DefaultTimeout); // Fails when the server shuts down, the challenge happens internally.
103
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
128
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
153
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
160
context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
183
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
Listener\RequestBodyTests.cs (7)
29
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
53
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
78
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
102
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
127
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
152
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
180
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
Listener\RequestHeaderTests.cs (6)
27
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
68
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
95
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
123
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
164
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
189
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
Listener\RequestTests.cs (6)
24
var contextTask = server.
AcceptAsync
(Utilities.DefaultTimeout);
38
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
76
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
101
var contextTask = server.
AcceptAsync
(Utilities.DefaultTimeout);
126
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
163
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
Listener\ResponseBodyTests.cs (17)
27
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
61
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
85
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
109
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
130
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
153
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
173
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
194
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
216
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
241
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
277
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
313
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
340
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
370
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
410
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
449
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
483
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
Listener\ResponseHeaderTests.cs (15)
35
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
57
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
80
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
94
context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
108
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
123
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
137
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
152
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
166
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
189
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
204
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
229
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
239
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
261
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
301
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
Listener\ServerOnExistingQueueTests.cs (16)
26
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
41
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
60
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
82
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
98
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
115
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
140
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
160
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
179
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
193
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
215
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
228
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
263
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
283
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
303
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
311
context = await server.
AcceptAsync
(Utilities.DefaultTimeout);
Listener\ServerTests.cs (8)
34
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
63
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
91
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
120
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
151
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
164
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
184
var context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);
196
context = await server.
AcceptAsync
(Utilities.DefaultTimeout).Before(responseTask);