126 references to CreateHttpServer
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (126)
DelegateTests.cs (7)
51using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext => 83using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext => 115using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext => 149using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext => 171using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext => 200using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext => 233using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
OpaqueUpgradeTests.cs (9)
25using (Utilities.CreateHttpServer(out var address, httpContext => 52using (Utilities.CreateHttpServer(out address, httpContext => 81using (Utilities.CreateHttpServer(out address, async httpContext => 110using (Utilities.CreateHttpServer(out var address, async httpContext => 165using (Utilities.CreateHttpServer(out var address, async httpContext => 215using (Utilities.CreateHttpServer(out address, async httpContext => 258using (Utilities.CreateHttpServer(out address, async httpContext => 281using (Utilities.CreateHttpServer(out string address, async httpContext => 310using (Utilities.CreateHttpServer(out string address, async httpContext =>
RequestBodyTests.cs (11)
27using (Utilities.CreateHttpServer(out address, httpContext => 47using (Utilities.CreateHttpServer(out address, httpContext => 69using (Utilities.CreateHttpServer(out address, async httpContext => 87using (Utilities.CreateHttpServer(out address, async httpContext => 107using (Utilities.CreateHttpServer(out address, httpContext => 125using (Utilities.CreateHttpServer(out address, httpContext => 148using (Utilities.CreateHttpServer(out address, httpContext => 170using (Utilities.CreateHttpServer(out address, async httpContext => 189using (Utilities.CreateHttpServer(out address, async httpContext => 212using (Utilities.CreateHttpServer(out address, async httpContext => 258using (Utilities.CreateHttpServer(out var address, httpContext =>
RequestHeaderTests.cs (5)
22using (Utilities.CreateHttpServer(out address, httpContext => 41using var server = Utilities.CreateHttpServer(out var address, httpContext => 87using (Utilities.CreateHttpServer(out address, httpContext => 184using var server = Utilities.CreateHttpServer(out var address, httpContext => 211using var server = Utilities.CreateHttpServer(out var address, httpContext =>
ResponseBodyTests.cs (16)
17using (Utilities.CreateHttpServer(out var address, async httpContext => 46using (Utilities.CreateHttpServer(out var address, async httpContext => 73using (Utilities.CreateHttpServer(out var address, async httpContext => 93using (Utilities.CreateHttpServer(out var address, httpContext => 112using (Utilities.CreateHttpServer(out address, httpContext => 168using (Utilities.CreateHttpServer(out address, async httpContext => 190using (Utilities.CreateHttpServer(out address, async httpContext => 212using (Utilities.CreateHttpServer(out address, async httpContext => 237using (Utilities.CreateHttpServer(out address, httpContext => 251using (Utilities.CreateHttpServer(out address, httpContext => 266using (Utilities.CreateHttpServer(out address, async httpContext => 284using (Utilities.CreateHttpServer(out var address, httpContext => 320using (Utilities.CreateHttpServer(out address, httpContext => 349using (Utilities.CreateHttpServer(out address, httpContext => 377using (Utilities.CreateHttpServer(out address, httpContext => 406using (Utilities.CreateHttpServer(out address, async httpContext =>
ResponseCachingTests.cs (19)
49using (Utilities.CreateHttpServer(out address, httpContext => 68using (Utilities.CreateHttpServer(out address, httpContext => 89using (Utilities.CreateHttpServer(out address, httpContext => 108using (Utilities.CreateHttpServer(out string address, httpContext => 135using (Utilities.CreateHttpServer(out address, httpContext => 155using (Utilities.CreateHttpServer(out address, httpContext => 175using (Utilities.CreateHttpServer(out address, httpContext => 195using (Utilities.CreateHttpServer(out address, httpContext => 215using (Utilities.CreateHttpServer(out address, httpContext => 235using (Utilities.CreateHttpServer(out address, httpContext => 259using (Utilities.CreateHttpServer(out address, httpContext => 282using (Utilities.CreateHttpServer(out address, httpContext => 303using (Utilities.CreateHttpServer(out address, httpContext => 323using (Utilities.CreateHttpServer(out address, httpContext => 344using (Utilities.CreateHttpServer(out address, httpContext => 365using (Utilities.CreateHttpServer(out address, async httpContext => 387using (Utilities.CreateHttpServer(out address, async httpContext => 406using (Utilities.CreateHttpServer(out address, async httpContext => 426using (Utilities.CreateHttpServer(out address, httpContext =>
ResponseHeaderTests.cs (11)
24using (Utilities.CreateHttpServer(out address, httpContext => 44using (Utilities.CreateHttpServer(out address, httpContext => 70using (Utilities.CreateHttpServer(out address, httpContext => 95using (Utilities.CreateHttpServer(out address, httpContext => 120using (Utilities.CreateHttpServer(out address, httpContext => 141using (Utilities.CreateHttpServer(out address, httpContext => 165using (Utilities.CreateHttpServer(out address, httpContext => 188using (Utilities.CreateHttpServer(out address, httpContext => 217using (Utilities.CreateHttpServer(out address, httpContext => 249using (Utilities.CreateHttpServer(out address, async httpContext => 279using (Utilities.CreateHttpServer(out address, httpContext =>
ResponseSendFileTests.cs (20)
40using (Utilities.CreateHttpServer(out var address, async httpContext => 65using (Utilities.CreateHttpServer(out address, httpContext => 84using (Utilities.CreateHttpServer(out address, httpContext => 103using (Utilities.CreateHttpServer(out address, httpContext => 122using (Utilities.CreateHttpServer(out address, httpContext => 142using (Utilities.CreateHttpServer(out address, httpContext => 162using (Utilities.CreateHttpServer(out address, async httpContext => 181using (Utilities.CreateHttpServer(out address, async httpContext => 199using (Utilities.CreateHttpServer(out address, httpContext => 218using (Utilities.CreateHttpServer(out address, httpContext => 239using (Utilities.CreateHttpServer(out address, httpContext => 260using (Utilities.CreateHttpServer(out address, httpContext => 282using (Utilities.CreateHttpServer(out address, httpContext => 313using (Utilities.CreateHttpServer(out var address, async httpContext => 336using (Utilities.CreateHttpServer(out var address, async httpContext => 353using (Utilities.CreateHttpServer(out var address, async httpContext => 400using (Utilities.CreateHttpServer(out var address, httpContext => 455using (Utilities.CreateHttpServer(out var address, async httpContext => 538using (Utilities.CreateHttpServer(out var address, async httpContext => 637using (Utilities.CreateHttpServer(out var address, async httpContext =>
ResponseTests.cs (10)
26using (Utilities.CreateHttpServer(out address, httpContext => 45using (Utilities.CreateHttpServer(out address, httpContext => 64using (Utilities.CreateHttpServer(out address, httpContext => 84using (Utilities.CreateHttpServer(out address, httpContext => 101using (Utilities.CreateHttpServer(out address, httpContext => 116using (Utilities.CreateHttpServer(out address, httpContext => 133using (Utilities.CreateHttpServer(out var address, httpContext => 163using (Utilities.CreateHttpServer(out var address, httpContext => 192using (Utilities.CreateHttpServer(out var address, httpContext => 222using var server = Utilities.CreateHttpServer(out var address, async httpContext =>
ServerTests.cs (18)
29using (Utilities.CreateHttpServer(out var address, httpContext => 117using (Utilities.CreateHttpServer(out var address, httpContext => 131using (Utilities.CreateHttpServer(out var address, async httpContext => 149using (var server = Utilities.CreateHttpServer(out var address, httpContext => 170using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 191using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 210using (Utilities.CreateHttpServer(out var address, httpContext => 229using (Utilities.CreateHttpServer(out var address, httpContext => 252using (Utilities.CreateHttpServer(out var address, async httpContext => 282using (Utilities.CreateHttpServer(out var address, async httpContext => 315using (Utilities.CreateHttpServer(out var address, async httpContext => 340using (Utilities.CreateHttpServer(out address, httpContext => Task.FromResult(0), LoggerFactory)) { } 420using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 454using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 491using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 528using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 567using (var server = Utilities.CreateHttpServer(out var address, async httpContext => 592using (var server = Utilities.CreateHttpServer(out _, httpContext => Task.CompletedTask, LoggerFactory))