1 instantiation of InMemoryConnection
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
122
return new
InMemoryConnection
(transportConnection, encoding);
374 references to InMemoryConnection
InMemory.FunctionalTests (374)
BadHttpRequestTests.cs (9)
179
using (
var
client = server.CreateConnection())
220
using (
var
connection = server.CreateConnection())
242
using (
var
client = server.CreateConnection())
264
using (
var
client = server.CreateConnection())
348
using (
var
connection = server.CreateConnection())
395
using (
var
connection = server.CreateConnection())
461
using (
var
connection = server.CreateConnection())
536
using (
var
connection = server.CreateConnection())
566
private async Task ReceiveBadRequestResponse(
InMemoryConnection
connection, string expectedResponseStatusCode, string expectedDateHeaderValue, string expectedAllowHeader = null)
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 (9)
42
using (
var
connection = server.CreateConnection())
71
using (var disposables = new DisposableStack<
InMemoryConnection
>())
73
var
upgraded = server.CreateConnection();
80
var
connection = server.CreateConnection();
86
using (
var
rejected = server.CreateConnection())
118
using (var disposables = new DisposableStack<
InMemoryConnection
>())
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)
291
using (
var
connection = server.CreateConnection())
321
using (
var
connection = server.CreateConnection())
354
using (
var
connection = server.CreateConnection())
389
using (
var
connection = server.CreateConnection())
396
using (
var
connection = server.CreateConnection())
424
using (
var
connection = server.CreateConnection())
458
using (
var
connection = server.CreateConnection())
486
using (
var
connection = server.CreateConnection())
523
using (
var
connection = server.CreateConnection())
565
using
var
connection = server.CreateConnection();
609
using
var
connection = server.CreateConnection();
652
using
var
connection = server.CreateConnection();
693
using
var
connection = server.CreateConnection();
741
using
var
connection = server.CreateConnection();
783
using
var
connection = server.CreateConnection();
850
using (
var
connection = server.CreateConnection())
908
using
var
connection = server.CreateConnection();
935
using
var
connection = server.CreateConnection();
968
using
var
connection = server.CreateConnection();
1001
using
var
connection = server.CreateConnection();
1049
using
var
connection = server.CreateConnection();
1094
using
var
connection = server.CreateConnection();
1150
using (
var
connection = server.CreateConnection())
1185
using (
var
connection = server.CreateConnection())
1212
using (
var
connection = server.CreateConnection())
1237
using (
var
connection = server.CreateConnection())
1262
using (
var
connection = server.CreateConnection())
1296
using (
var
connection = server.CreateConnection())
1394
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 (7)
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())
291
private async Task ReceiveResponse(
InMemoryConnection
connection, TestServiceContext testContext)
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 (6)
33
using (
var
connection = server.CreateConnection())
62
using (
var
connection = server.CreateConnection())
100
using (
var
connection = server.CreateConnection())
130
using (
var
connection = server.CreateConnection())
165
private async Task ReceiveResponse(
InMemoryConnection
connection, TestServiceContext testContext)
179
private async Task ReceiveTimeoutResponse(
InMemoryConnection
connection, TestServiceContext testContext)
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())
TestTransport\TestServer.cs (1)
116
public
InMemoryConnection
CreateConnection(Encoding encoding = null, Action<IFeatureCollection> featuresAction = null)
UpgradeTests.cs (14)
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())
328
using (var disposables = new DisposableStack<
InMemoryConnection
>())
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())