84 instantiations of 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
();
72 references to HttpConnectionDispatcherOptions
Microsoft.AspNetCore.Components.Server (2)
Builder\ComponentEndpointRouteBuilderExtensions.cs (2)
52
Action<
HttpConnectionDispatcherOptions
> configureOptions)
70
Action<
HttpConnectionDispatcherOptions
> configureOptions)
Microsoft.AspNetCore.Http.Connections (14)
ConnectionEndpointRouteBuilderExtensions.cs (3)
51
public static ConnectionEndpointRouteBuilder MapConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<
HttpConnectionDispatcherOptions
>? configureOptions) where TConnectionHandler : ConnectionHandler
53
var
options = new HttpConnectionDispatcherOptions();
83
public static ConnectionEndpointRouteBuilder MapConnections(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern,
HttpConnectionDispatcherOptions
options, Action<IConnectionBuilder> configure)
HttpConnectionDispatcherOptions.cs (1)
27
/// Initializes a new instance of the <see cref="
HttpConnectionDispatcherOptions
"/> class.
Internal\HttpConnectionContext.cs (2)
38
private readonly
HttpConnectionDispatcherOptions
_options;
69
IDuplexPipe transport, IDuplexPipe application,
HttpConnectionDispatcherOptions
options, bool useStatefulReconnect)
Internal\HttpConnectionDispatcher.cs (7)
61
public async Task ExecuteAsync(HttpContext context,
HttpConnectionDispatcherOptions
options, ConnectionDelegate connectionDelegate)
102
public async Task ExecuteNegotiateAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
121
private async Task ExecuteAsync(HttpContext context, ConnectionDelegate connectionDelegate,
HttpConnectionDispatcherOptions
options, ConnectionLogScope logScope)
336
private async Task ProcessNegotiate(HttpContext context,
HttpConnectionDispatcherOptions
options, ConnectionLogScope logScope)
406
private static void WriteNegotiatePayload(IBufferWriter<byte> writer, string? connectionId, string? connectionToken, HttpContext context,
HttpConnectionDispatcherOptions
options,
800
private async Task<HttpConnectionContext?> GetOrCreateConnectionAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
822
private HttpConnectionContext CreateConnection(
HttpConnectionDispatcherOptions
options, int clientProtocolVersion = 0, bool useStatefulReconnect = false)
Internal\HttpConnectionManager.cs (1)
63
internal HttpConnectionContext CreateConnection(
HttpConnectionDispatcherOptions
options, int negotiateVersion = 0, bool useStatefulReconnect = false)
Microsoft.AspNetCore.Http.Connections.Tests (53)
HttpConnectionDispatcherTests.cs (45)
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();
724
var
options = new HttpConnectionDispatcherOptions();
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();
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();
3146
var
options = new HttpConnectionDispatcherOptions() { CloseOnAuthenticationExpiration = true };
3570
var
options = new HttpConnectionDispatcherOptions();
3709
var
options = new HttpConnectionDispatcherOptions();
HttpConnectionManagerTests.cs (2)
26
var
options = new HttpConnectionDispatcherOptions();
37
var
httpOptions = new HttpConnectionDispatcherOptions();
LongPollingTests.cs (1)
116
var
options = new HttpConnectionDispatcherOptions();
MapConnectionHandlerTests.cs (5)
305
var
optionsMetaData = endpoint.Metadata.GetMetadata<
HttpConnectionDispatcherOptions
>();
341
var
optionsMetaData = endpoint.Metadata.GetMetadata<
HttpConnectionDispatcherOptions
>();
505
private IHost BuildWebHost<TConnectionHandler>(string path, Action<
HttpConnectionDispatcherOptions
> configureOptions, Action<IEndpointConventionBuilder> configureEndpoints = null) where TConnectionHandler : ConnectionHandler
Microsoft.AspNetCore.SignalR (2)
HubEndpointRouteBuilderExtensions.cs (2)
39
public static HubEndpointConventionBuilder MapHub<[DynamicallyAccessedMembers(HubAccessibility)] THub>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<
HttpConnectionDispatcherOptions
>? configureOptions) where THub : Hub
49
var
options = new HttpConnectionDispatcherOptions();
Microsoft.AspNetCore.SignalR.Tests (1)
MapSignalRTests.cs (1)
236
HttpConnectionDispatcherOptions
configuredOptions = null;