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