AuthenticationTests.cs (18)
30using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, httpContext =>
51using (var server = Utilities.CreateDynamicHost(authType, DenyAnoymous, out var address, httpContext =>
69using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, httpContext =>
88using (Utilities.CreateHttpAuthServer(
119using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, httpContext =>
153using (var server = Utilities.CreateDynamicHost(authType, DenyAnoymous, out var address, httpContext =>
173using (var server = Utilities.CreateDynamicHost(authTypes, DenyAnoymous, out var address, httpContext =>
203using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, async httpContext =>
227using (var server = Utilities.CreateDynamicHost(authType, DenyAnoymous, out var address, async httpContext =>
250using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, httpContext =>
273using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, async httpContext =>
291using (var server = Utilities.CreateDynamicHost(authTypes, AllowAnoymous, out var address, httpContext =>
317using (var server = Utilities.CreateDynamicHost(authType, AllowAnoymous, out var address, httpContext =>
335using (var server = Utilities.CreateDynamicHost(authTypes, AllowAnoymous, out var address, httpContext =>
356using (var server = Utilities.CreateDynamicHost(authType, DenyAnoymous, out var address, httpContext =>
379using (var server = Utilities.CreateDynamicHost(out var address, options =>
409using (var server = Utilities.CreateDynamicHost(out var address, options =>
436using (var server = Utilities.CreateDynamicHost(out var address, options =>
DelegateTests.cs (14)
40using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
51using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
71using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
83using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
104using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
115using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
137using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
149using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
171using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
189using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
200using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
223using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
233using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
250using var receiverRestarted = (MessagePump)Utilities.CreateHttpServer(out receiverAddress, async httpContext =>
Http2Tests.cs (22)
33using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
70using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
116using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
166using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
230using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
287using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
322using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
366using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
405using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
444using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
518using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
551using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
583using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
614using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
636using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
657using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
699using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
746using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
796using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
848using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
894using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
943using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
HttpsTests.cs (9)
27using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
40using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
55using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
75using (Utilities.CreateDynamicHttpsServer("", out var root, out var address, options =>
100using (Utilities.CreateDynamicHttpsServer("", out var root, out var address, options =>
132using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
154using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
198using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
238using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
OpaqueUpgradeTests.cs (10)
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 =>
132using (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 =>
RequestBodyLimitTests.cs (16)
23using (Utilities.CreateHttpServer(out address, httpContext =>
46using (Utilities.CreateHttpServer(out address, async httpContext =>
68using (Utilities.CreateHttpServer(out address, httpContext =>
90using (Utilities.CreateHttpServer(out address, httpContext =>
113using (Utilities.CreateHttpServer(out address, async httpContext =>
135using (Utilities.CreateHttpServer(out address, httpContext =>
157using (Utilities.CreateHttpServer(out address, httpContext =>
183using (Utilities.CreateHttpServer(out address, httpContext =>
208using (Utilities.CreateHttpServer(out address, httpContext =>
233using (Utilities.CreateHttpServer(out address, httpContext =>
259using (Utilities.CreateHttpServer(out address, async httpContext =>
283using (Utilities.CreateHttpServer(out address, httpContext =>
310using (Utilities.CreateHttpServer(out address, httpContext =>
337using (Utilities.CreateHttpServer(out address, async httpContext =>
361using (Utilities.CreateHttpServer(out address, async httpContext =>
385using (Utilities.CreateHttpServer(out 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 =>
RequestTests.cs (18)
24using (Utilities.CreateHttpServerReturnRoot("/basepath", out root, httpContext =>
73using (Utilities.CreateHttpServerReturnRoot("/basepath", out root, httpContext =>
137using (Utilities.CreateHttpServerReturnRoot("/basepath", out root, httpContext =>
208using (Utilities.CreateHttpServerReturnRoot(pathBase, out root, httpContext =>
244using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
261using (var server = Utilities.CreateHttpServerReturnRoot("/", out var root, httpContext =>
280using (var server = Utilities.CreateHttpServerReturnRoot("/", out var root, httpContext =>
349using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
368using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
406using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
430using (var server = Utilities.CreateHttpServerReturnRoot(basePath, out root, httpContext =>
451using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
469using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
491using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
510using var server = Utilities.CreateHttpServerReturnRoot("/", out var address, async httpContext =>
559using var server = Utilities.CreateHttpServerReturnRoot("/", out var address, async httpContext =>
603var dynamicServer = Utilities.CreateHttpServerReturnRoot("/", out root, app, LoggerFactory);
606var server = Utilities.CreatePump(LoggerFactory);
ResponseBodyTests.cs (17)
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 =>
138using (Utilities.CreateHttpServer(
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 (20)
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 =>
128if (Utilities.IsWin8orLater)
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 (29)
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 =>
372using (Utilities.CreateHttpServer(out var address, httpContext =>
400using (Utilities.CreateHttpServer(out var address, httpContext =>
428using (Utilities.CreateHttpServer(out var address, async httpContext =>
455using (Utilities.CreateHttpServer(out var address, async httpContext =>
485using (Utilities.CreateHttpServer(out var address, async httpContext =>
500for (int i = 0; i < Utilities.WriteRetryLimit; i++)
538using (Utilities.CreateHttpServer(out var address, async httpContext =>
547for (int i = 0; i < Utilities.WriteRetryLimit; i++)
581using (Utilities.CreateHttpServer(out var address, async httpContext =>
598for (int i = 0; i < Utilities.WriteRetryLimit; i++)
637using (Utilities.CreateHttpServer(out var address, async httpContext =>
648for (int i = 0; i < Utilities.WriteRetryLimit; i++)
681using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })
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 =>
ResponseTrailersTests.cs (14)
25using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
43using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
61using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
82using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
101using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
122using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
152using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
177using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
203using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
228using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
249using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
271using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
299using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
319using (Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
ServerTests.cs (29)
29using (Utilities.CreateHttpServer(out var address, httpContext =>
57using (Utilities.CreateHttpServer(out var address, httpContext =>
95using (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)) { }
342var server = Utilities.CreatePump(LoggerFactory);
357using (Utilities.CreateDynamicHost(out var address, options =>
384using (var server = Utilities.CreatePump(LoggerFactory))
397using (Utilities.CreateDynamicHost(out var address, options =>
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))
604using var server = Utilities.CreateHttpServer(out var address, httpContext => Task.CompletedTask, options =>
608using var attachedServer = Utilities.CreatePump(options =>
622using var server = Utilities.CreateHttpServer(
639using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })
647using (HttpClient client = new HttpClient() { Timeout = Utilities.DefaultTimeout })