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