84 references to HttpConnectionDispatcherOptions
Microsoft.AspNetCore.Http.Connections (3)
ConnectionEndpointRouteBuilderExtensions.cs (2)
29
endpoints.MapConnections(pattern, new
HttpConnectionDispatcherOptions
(), configure);
53
var options = new
HttpConnectionDispatcherOptions
();
Internal\HttpConnectionManager.cs (1)
56
return CreateConnection(
new
());
Microsoft.AspNetCore.Http.Connections.Tests (80)
HttpConnectionDispatcherTests.cs (75)
69
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
());
94
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
());
120
var options = new
HttpConnectionDispatcherOptions
{ TransportMaxBufferSize = 4, ApplicationMaxBufferSize = 4 };
157
var options = new
HttpConnectionDispatcherOptions
{ TransportMaxBufferSize = 4, ApplicationMaxBufferSize = 4 };
185
var options = new
HttpConnectionDispatcherOptions
{ TransportMaxBufferSize = 4, ApplicationMaxBufferSize = 4, MinimumProtocolVersion = 1 };
206
var options = new
HttpConnectionDispatcherOptions
();
239
var executeTask = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
272
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
{ Transports = transports });
318
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
359
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
397
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
436
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
486
var task = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
550
var task = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
610
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
671
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
724
var options = new
HttpConnectionDispatcherOptions
();
789
var task = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
793
task = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
867
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
913
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), c => Task.CompletedTask);
941
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1015
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1047
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1075
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1078
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1111
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1114
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1147
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1153
await dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
1197
var options = new
HttpConnectionDispatcherOptions
();
1292
var options = new
HttpConnectionDispatcherOptions
();
1334
var options = new
HttpConnectionDispatcherOptions
();
1377
var options = new
HttpConnectionDispatcherOptions
();
1418
var options = new
HttpConnectionDispatcherOptions
();
1450
var options = new
HttpConnectionDispatcherOptions
();
1493
var options = new
HttpConnectionDispatcherOptions
();
1558
var options = new
HttpConnectionDispatcherOptions
();
1622
var options = new
HttpConnectionDispatcherOptions
();
1652
var options = new
HttpConnectionDispatcherOptions
();
1687
var options = new
HttpConnectionDispatcherOptions
();
1721
var options = new
HttpConnectionDispatcherOptions
();
1761
var options = new
HttpConnectionDispatcherOptions
();
1811
var options = new
HttpConnectionDispatcherOptions
();
1850
var options = new
HttpConnectionDispatcherOptions
();
1902
var options = new
HttpConnectionDispatcherOptions
();
1950
var options = new
HttpConnectionDispatcherOptions
();
1994
var options = new
HttpConnectionDispatcherOptions
();
2028
var options = new
HttpConnectionDispatcherOptions
();
2067
var options = new
HttpConnectionDispatcherOptions
();
2120
var options = new
HttpConnectionDispatcherOptions
();
2156
var options = new
HttpConnectionDispatcherOptions
2230
var options = new
HttpConnectionDispatcherOptions
();
2274
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
{ Transports = HttpTransportType.WebSockets });
2300
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
{ AllowStatefulReconnects = false });
2329
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
{ AllowStatefulReconnects = true });
2358
await dispatcher.ExecuteNegotiateAsync(context, new
HttpConnectionDispatcherOptions
{ AllowStatefulReconnects = true });
2376
var options = new
HttpConnectionDispatcherOptions
() { AllowStatefulReconnects = true };
2451
var options = new
HttpConnectionDispatcherOptions
() { AllowStatefulReconnects = true };
2543
var options = new
HttpConnectionDispatcherOptions
2606
var options = new
HttpConnectionDispatcherOptions
2663
var options = new
HttpConnectionDispatcherOptions
2737
var options = new
HttpConnectionDispatcherOptions
();
2762
var options = new
HttpConnectionDispatcherOptions
2829
var options = new
HttpConnectionDispatcherOptions
();
2856
var options = new
HttpConnectionDispatcherOptions
();
2886
var options = new
HttpConnectionDispatcherOptions
();
2935
var options = new
HttpConnectionDispatcherOptions
();
2967
var options = new
HttpConnectionDispatcherOptions
();
3024
var options = new
HttpConnectionDispatcherOptions
();
3079
var options = new
HttpConnectionDispatcherOptions
();
3127
_ = dispatcher.ExecuteAsync(context, new
HttpConnectionDispatcherOptions
(), app);
3146
var options = new
HttpConnectionDispatcherOptions
() { CloseOnAuthenticationExpiration = true };
3570
var options = new
HttpConnectionDispatcherOptions
();
3709
var options = new
HttpConnectionDispatcherOptions
();
HttpConnectionManagerTests.cs (4)
26
var options = new
HttpConnectionDispatcherOptions
();
37
var httpOptions = new
HttpConnectionDispatcherOptions
();
204
var connection = connectionManager.CreateConnection(
new
(), negotiateVersion: 0);
225
var connection = connectionManager.CreateConnection(
new
(), negotiateVersion: 1);
LongPollingTests.cs (1)
116
var options = new
HttpConnectionDispatcherOptions
();
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
49
var options = new
HttpConnectionDispatcherOptions
();