366 references to CreateConnection
InMemory.FunctionalTests (366)
BadHttpRequestTests.cs (8)
176using (var client = server.CreateConnection()) 217using (var connection = server.CreateConnection()) 239using (var client = server.CreateConnection()) 261using (var client = server.CreateConnection()) 345using (var connection = server.CreateConnection()) 392using (var connection = server.CreateConnection()) 458using (var connection = server.CreateConnection()) 533using (var connection = server.CreateConnection())
ChunkedRequestTests.cs (20)
77using (var connection = server.CreateConnection()) 106using (var connection = server.CreateConnection()) 135using (var connection = server.CreateConnection()) 187using (var connection = server.CreateConnection()) 344using (var connection = server.CreateConnection()) 475using (var connection = server.CreateConnection()) 504using (var connection = server.CreateConnection()) 548using (var connection = server.CreateConnection()) 649using (var connection = server.CreateConnection()) 679using (var connection = server.CreateConnection()) 723using (var connection = server.CreateConnection()) 755using (var connection = server.CreateConnection()) 778using (var connection = server.CreateConnection()) 801using (var connection = server.CreateConnection()) 824using (var connection = server.CreateConnection()) 882using (var connection = server.CreateConnection()) 935using (var connection = server.CreateConnection()) 987using (var connection = server.CreateConnection()) 1031using (var connection = server.CreateConnection()) 1098using (var connection = server.CreateConnection())
ChunkedResponseTests.cs (29)
31using (var connection = server.CreateConnection()) 65using (var connection = server.CreateConnection()) 95using (var connection = server.CreateConnection()) 129using (var connection = server.CreateConnection()) 164using (var connection = server.CreateConnection()) 209using (var connection = server.CreateConnection()) 250using (var connection = server.CreateConnection()) 285using (var connection = server.CreateConnection()) 322using (var connection = server.CreateConnection()) 362using (var connection = server.CreateConnection()) 400using (var connection = server.CreateConnection()) 431using (var connection = server.CreateConnection()) 464using (var connection = server.CreateConnection()) 502using (var connection = server.CreateConnection()) 545using (var connection = server.CreateConnection()) 591using (var connection = server.CreateConnection()) 634using (var connection = server.CreateConnection()) 682using (var connection = server.CreateConnection()) 738using (var connection = server.CreateConnection()) 795using (var connection = server.CreateConnection()) 843using (var connection = server.CreateConnection()) 890using (var connection = server.CreateConnection()) 931using (var connection = server.CreateConnection()) 969using (var connection = server.CreateConnection()) 1012using (var connection = server.CreateConnection()) 1049using (var connection = server.CreateConnection()) 1083using (var connection = server.CreateConnection()) 1122using (var connection = server.CreateConnection()) 1164using (var connection = server.CreateConnection())
ConnectionLimitTests.cs (7)
42using (var connection = server.CreateConnection()) 73var upgraded = server.CreateConnection(); 80var connection = server.CreateConnection(); 86using (var rejected = server.CreateConnection()) 122var connection = server.CreateConnection(); 132using (var connection = server.CreateConnection()) 205using (var connection = server.CreateConnection())
ConnectionMiddlewareTests.cs (10)
52using (var connection = server.CreateConnection()) 81using (var connection = server.CreateConnection()) 114using (var connection = server.CreateConnection()) 142using (var connection = server.CreateConnection()) 165using (var connection = server.CreateConnection()) 195using (var connection = server.CreateConnection()) 227using (var connection = server.CreateConnection()) 254using (var connection = server.CreateConnection()) 283using (var connection = server.CreateConnection()) 314using (var connection = server.CreateConnection())
DefaultHeaderTests.cs (1)
23using (var connection = server.CreateConnection())
EventSourceTests.cs (4)
57using var connection = server.CreateConnection(); 164using var connection = server.CreateConnection(); 288using var connection = server.CreateConnection(); 382using var connection = server.CreateConnection();
Http2\Http2EndToEndTests.cs (1)
47using var connection = server.CreateConnection();
Http2\TlsTests.cs (1)
61using (var connection = server.CreateConnection())
HttpProtocolSelectionTests.cs (2)
69using (var connection = server.CreateConnection()) 88using (var connection = server.CreateConnection())
HttpsConnectionMiddlewareTests.cs (29)
287using (var connection = server.CreateConnection()) 317using (var connection = server.CreateConnection()) 350using (var connection = server.CreateConnection()) 385using (var connection = server.CreateConnection()) 392using (var connection = server.CreateConnection()) 420using (var connection = server.CreateConnection()) 454using (var connection = server.CreateConnection()) 482using (var connection = server.CreateConnection()) 519using (var connection = server.CreateConnection()) 561using var connection = server.CreateConnection(); 605using var connection = server.CreateConnection(); 648using var connection = server.CreateConnection(); 689using var connection = server.CreateConnection(); 737using var connection = server.CreateConnection(); 779using var connection = server.CreateConnection(); 846using (var connection = server.CreateConnection()) 904using var connection = server.CreateConnection(); 931using var connection = server.CreateConnection(); 964using var connection = server.CreateConnection(); 997using var connection = server.CreateConnection(); 1045using var connection = server.CreateConnection(); 1090using var connection = server.CreateConnection(); 1146using (var connection = server.CreateConnection()) 1181using (var connection = server.CreateConnection()) 1208using (var connection = server.CreateConnection()) 1233using (var connection = server.CreateConnection()) 1258using (var connection = server.CreateConnection()) 1292using (var connection = server.CreateConnection()) 1390using var connection = server.CreateConnection();
HttpsTests.cs (12)
91using (var connection = server.CreateConnection()) 182using (var connection = server.CreateConnection()) 210using (var connection = server.CreateConnection()) 254using (var connection = server.CreateConnection()) 298using (var connection = server.CreateConnection()) 329using (var connection = server.CreateConnection()) 355using (var connection = server.CreateConnection()) 381using (var connection = server.CreateConnection()) 415using (var connection = server.CreateConnection()) 693using (var connection = server.CreateConnection()) 734using (var connection = server.CreateConnection()) 773using (var connection = server.CreateConnection())
KeepAliveTimeoutTests.cs (6)
34using (var connection = server.CreateConnection()) 66using (var connection = server.CreateConnection()) 99using (var connection = server.CreateConnection()) 145using (var connection = server.CreateConnection()) 189using (var connection = server.CreateConnection()) 215using (var connection = server.CreateConnection())
KestrelMetricsTests.cs (14)
71using (var connection = server.CreateConnection()) 130using (var connection = server.CreateConnection()) 183using (var connection = server.CreateConnection()) 222using var connection = server.CreateConnection(); 292using var connection = server.CreateConnection(); 354using (var connection = server.CreateConnection(featuresAction: features => 414using (var connection = server.CreateConnection()) 464using (var connection = server.CreateConnection()) 504using (var connection = server.CreateConnection()) 554using var connection = server.CreateConnection(); 631using var connection = server.CreateConnection(); 700using var connection = server.CreateConnection(); 785using var connection = server.CreateConnection(); 869using var connection = server.CreateConnection();
MaxRequestBodySizeTests.cs (13)
43using (var connection = server.CreateConnection()) 90using var connection = server.CreateConnection(); 137using var connection = server.CreateConnection(); 186using (var connection = server.CreateConnection()) 230using (var connection = server.CreateConnection()) 254using (var connection = server.CreateConnection()) 302using (var connection = server.CreateConnection()) 342using (var connection = server.CreateConnection()) 386using (var connection = server.CreateConnection()) 439using (var connection = server.CreateConnection()) 485using (var connection = server.CreateConnection()) 548using (var connection = server.CreateConnection()) 599using (var connection = server.CreateConnection())
MaxRequestLineSizeTests.cs (2)
36using (var connection = server.CreateConnection()) 67using (var connection = server.CreateConnection())
RequestBodyTimeoutTests.cs (3)
63using (var connection = server.CreateConnection()) 122using (var connection = server.CreateConnection()) 189using (var connection = server.CreateConnection())
RequestHeaderLimitsTests.cs (4)
34using (var connection = server.CreateConnection()) 71using (var connection = server.CreateConnection()) 102using (var connection = server.CreateConnection()) 131using (var connection = server.CreateConnection())
RequestHeadersTimeoutTests.cs (4)
33using (var connection = server.CreateConnection()) 62using (var connection = server.CreateConnection()) 100using (var connection = server.CreateConnection()) 130using (var connection = server.CreateConnection())
RequestTargetProcessingTests.cs (3)
30using (var connection = server.CreateConnection()) 75using (var connection = server.CreateConnection()) 109using (var connection = server.CreateConnection())
RequestTests.cs (51)
150using (var connection = server.CreateConnection()) 192using (var connection = server.CreateConnection()) 243using (var connection = server.CreateConnection()) 289using (var connection = server.CreateConnection()) 542using var connection = server.CreateConnection(); 615using (var connection = server.CreateConnection()) 654using (var connection = server.CreateConnection()) 688using (var connection = server.CreateConnection()) 703using (var connection = server.CreateConnection()) 727using (var connection = server.CreateConnection()) 761using (var connection = server.CreateConnection()) 800using (var connection = server.CreateConnection()) 856using (var connection = server.CreateConnection()) 892using (var connection = server.CreateConnection()) 928using (var connection = server.CreateConnection()) 945using (var connection = server.CreateConnection()) 975using (var connection = server.CreateConnection()) 992using (var connection = server.CreateConnection()) 1023using (var connection = server.CreateConnection()) 1058using (var connection = server.CreateConnection()) 1097using (var connection = server.CreateConnection()) 1134using (var connection = server.CreateConnection()) 1205using (var connection = server.CreateConnection()) 1246using (var connection = server.CreateConnection()) 1276using (var connection = server.CreateConnection()) 1285using (var connection = server.CreateConnection()) 1324using (var connection = server.CreateConnection()) 1366using (var connection = server.CreateConnection()) 1423using (var connection = server.CreateConnection()) 1466using (var connection = server.CreateConnection()) 1484using (var connection = server.CreateConnection()) 1525using (var connection = server.CreateConnection()) 1573using (var connection = server.CreateConnection()) 1606using (var connection = server.CreateConnection()) 1655using (var connection = server.CreateConnection()) 1716using (var connection = server.CreateConnection()) 1759using (var connection = server.CreateConnection()) 1804using (var connection = server.CreateConnection()) 1846using (var connection = server.CreateConnection()) 1880using (var connection = server.CreateConnection()) 1927using (var connection = server.CreateConnection()) 1973using (var connection = server.CreateConnection()) 2011using (var connection = server.CreateConnection()) 2056using (var connection = server.CreateConnection()) 2089using (var connection = server.CreateConnection()) 2149using (var connection = server.CreateConnection()) 2205using (var connection = server.CreateConnection()) 2233using (var connection = server.CreateConnection()) 2268using (var connection = server.CreateConnection()) 2298using (var connection = server.CreateConnection()) 2341using (var client = server.CreateConnection())
ResponseDrainingTests.cs (1)
34using (var connection = server.CreateConnection())
ResponseHeaderTests.cs (4)
31using var connection = server.CreateConnection(); 63using var connection = server.CreateConnection(Encoding.UTF8); 95using var connection = server.CreateConnection(); 125using var connection = server.CreateConnection();
ResponseTests.cs (122)
53using (var connection = server.CreateConnection()) 86using (var connection = server.CreateConnection()) 120using (var connection = server.CreateConnection()) 187using (var connection = server.CreateConnection()) 233using var connection = server.CreateConnection(); 257using var connection = server.CreateConnection(); 381using (var connection = server.CreateConnection()) 416using (var connection = server.CreateConnection()) 453using (var connection = server.CreateConnection()) 490using (var connection = server.CreateConnection()) 524using (var connection = server.CreateConnection()) 558using (var connection = server.CreateConnection()) 583using (var connection = server.CreateConnection()) 695using (var connection = server.CreateConnection()) 733using (var connection = server.CreateConnection()) 773using (var connection = server.CreateConnection()) 811using (var connection = server.CreateConnection()) 853using (var connection = server.CreateConnection()) 882using (var connection = server.CreateConnection()) 919using (var connection = server.CreateConnection()) 964using (var connection = server.CreateConnection()) 1005using (var connection = server.CreateConnection()) 1044using (var connection = server.CreateConnection()) 1079using (var connection = server.CreateConnection()) 1121using (var connection = server.CreateConnection()) 1178using (var connection = server.CreateConnection()) 1232using (var connection = server.CreateConnection()) 1271using (var connection = server.CreateConnection()) 1316using (var connection = server.CreateConnection()) 1351using (var connection = server.CreateConnection()) 1387using (var connection = server.CreateConnection()) 1416using (var connection = server.CreateConnection()) 1445using (var connection = server.CreateConnection()) 1478using (var connection = server.CreateConnection()) 1510using (var connection = server.CreateConnection()) 1553using (var connection = server.CreateConnection()) 1583using (var connection = server.CreateConnection()) 1599using (var connection = server.CreateConnection()) 1629using (var connection = server.CreateConnection()) 1645using (var connection = server.CreateConnection()) 1676using (var connection = server.CreateConnection()) 1727using (var connection = server.CreateConnection()) 1769using (var connection = server.CreateConnection()) 1812using (var connection = server.CreateConnection()) 1857using (var connection = server.CreateConnection()) 1899using (var connection = server.CreateConnection()) 1940using (var connection = server.CreateConnection()) 1971using (var connection = server.CreateConnection()) 2006using (var connection = server.CreateConnection()) 2042using (var connection = server.CreateConnection()) 2112using (var connection = server.CreateConnection()) 2159using (var connection = server.CreateConnection()) 2204using (var connection = server.CreateConnection()) 2228using (var connection = server.CreateConnection()) 2263using (var connection = server.CreateConnection()) 2280using (var connection = server.CreateConnection()) 2304using (var connection = server.CreateConnection()) 2337using (var connection = server.CreateConnection()) 2382using (var connection = server.CreateConnection()) 2398using (var connection = server.CreateConnection()) 2438using (var connection = server.CreateConnection()) 2497using (var connection = server.CreateConnection()) 2554using (var connection = server.CreateConnection()) 2600using (var connection = server.CreateConnection()) 2647using (var connection = server.CreateConnection()) 2694using (var connection = server.CreateConnection()) 2739using (var connection = server.CreateConnection()) 2773using (var connection = server.CreateConnection()) 2803using (var connection = server.CreateConnection()) 2828using (var connection = server.CreateConnection()) 2861using (var connection = server.CreateConnection()) 2903using (var connection = server.CreateConnection()) 2937using (var connection = server.CreateConnection()) 2968using (var connection = server.CreateConnection()) 2995using (var connection = server.CreateConnection()) 3025using (var connection = server.CreateConnection()) 3057using (var connection = server.CreateConnection()) 3087using (var connection = server.CreateConnection()) 3116using (var connection = server.CreateConnection()) 3150using (var connection = server.CreateConnection()) 3184using (var connection = server.CreateConnection()) 3214using (var connection = server.CreateConnection()) 3263using (var connection = server.CreateConnection()) 3292using (var connection = server.CreateConnection()) 3339using (var connection = server.CreateConnection()) 3390using (var connection = server.CreateConnection()) 3430using (var connection = server.CreateConnection()) 3456using (var connection = server.CreateConnection()) 3487using (var connection = server.CreateConnection()) 3526using (var connection = server.CreateConnection()) 3555using (var connection = server.CreateConnection()) 3586using (var connection = server.CreateConnection()) 3618using (var connection = server.CreateConnection()) 3648using (var connection = server.CreateConnection()) 3688using (var connection = server.CreateConnection()) 3727using (var connection = server.CreateConnection()) 3753using (var connection = server.CreateConnection()) 3792using (var connection = server.CreateConnection()) 3821using (var connection = server.CreateConnection()) 3849using (var connection = server.CreateConnection()) 3881using var connection = server.CreateConnection(); 3922using (var connection = server.CreateConnection()) 3967using (var connection = server.CreateConnection()) 4029using (var connection = server.CreateConnection()) 4081using (var connection = server.CreateConnection()) 4120using (var connection = server.CreateConnection()) 4152using (var connection = server.CreateConnection()) 4183using (var connection = server.CreateConnection()) 4216using (var connection = server.CreateConnection()) 4248using (var connection = server.CreateConnection()) 4281using (var connection = server.CreateConnection()) 4315using (var connection = server.CreateConnection()) 4348using (var connection = server.CreateConnection()) 4384using (var connection = server.CreateConnection()) 4421using (var connection = server.CreateConnection()) 4455using (var connection = server.CreateConnection()) 4480using (var connection = server.CreateConnection()) 4520using (var connection = server.CreateConnection()) 4553using (var connection = server.CreateConnection()) 4602using (var connection = server.CreateConnection()) 4658using (var connection = server.CreateConnection()) 4699using (var connection = server.CreateConnection())
TestTransport\InMemoryHttpClientSlim.cs (2)
34using (var connection = _inMemoryTestServer.CreateConnection()) 73using (var connection = _inMemoryTestServer.CreateConnection())
UpgradeTests.cs (13)
47using (var connection = server.CreateConnection()) 99using (var connection = server.CreateConnection()) 142using (var connection = server.CreateConnection()) 178using (var connection = server.CreateConnection()) 208using (var connection = server.CreateConnection()) 219using (var connection = server.CreateConnection()) 251using (var connection = server.CreateConnection()) 289using (var connection = server.CreateConnection()) 332var connection = server.CreateConnection(); 339using (var connection = server.CreateConnection()) 374using (var connection = server.CreateConnection()) 420using (var connection = server.CreateConnection()) 446using (var connection = server.CreateConnection())