4 instantiations of HttpConnectionDispatcherOptions
Microsoft.AspNetCore.Http.Connections (3)
ConnectionEndpointRouteBuilderExtensions.cs (2)
31
endpoints.MapConnections(pattern, new
HttpConnectionDispatcherOptions
(), configure);
55
var options = new
HttpConnectionDispatcherOptions
();
Internal\HttpConnectionManager.cs (1)
69
return CreateConnection(
new
());
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
49
var options = new
HttpConnectionDispatcherOptions
();
28 references to HttpConnectionDispatcherOptions
Microsoft.AspNetCore.Components.Server (5)
Builder\ComponentEndpointRouteBuilderExtensions.cs (2)
52
Action<
HttpConnectionDispatcherOptions
> configureOptions)
70
Action<
HttpConnectionDispatcherOptions
> configureOptions)
Builder\ServerComponentsEndpointOptions.cs (3)
59
/// Gets or sets a callback to configure the <see cref="
HttpConnectionDispatcherOptions
"/> used by the SignalR connection.
62
/// This allows configuring options such as <see cref="
HttpConnectionDispatcherOptions
.CloseOnAuthenticationExpiration"/>,
65
public Action<
HttpConnectionDispatcherOptions
>? ConfigureConnection { get; set; }
Microsoft.AspNetCore.Http.Connections (21)
ConnectionEndpointRouteBuilderExtensions.cs (3)
53
public static ConnectionEndpointRouteBuilder MapConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<
HttpConnectionDispatcherOptions
>? configureOptions) where TConnectionHandler : ConnectionHandler
55
var
options = new HttpConnectionDispatcherOptions();
85
public static ConnectionEndpointRouteBuilder MapConnections(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern,
HttpConnectionDispatcherOptions
options, Action<IConnectionBuilder> configure)
HttpConnectionDispatcherOptions.cs (1)
25
/// Initializes a new instance of the <see cref="
HttpConnectionDispatcherOptions
"/> class.
Internal\HttpConnectionContext.cs (2)
43
private readonly
HttpConnectionDispatcherOptions
_options;
82
IDuplexPipe transport, IDuplexPipe application,
HttpConnectionDispatcherOptions
options, bool useStatefulReconnect)
Internal\HttpConnectionDispatcher.cs (14)
64
public async Task ExecuteAsync(HttpContext context,
HttpConnectionDispatcherOptions
options, ConnectionDelegate connectionDelegate)
106
public async Task ExecuteNegotiateAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
127
public async Task ExecuteRefreshAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
148
HttpConnectionDispatcherOptions
options,
283
HttpConnectionDispatcherOptions
options,
502
HttpConnectionDispatcherOptions
options,
574
private static void WriteNegotiatePayload(IBufferWriter<byte> writer, string? connectionId, string? connectionToken, HttpContext context,
HttpConnectionDispatcherOptions
options,
768
private async Task<bool> EnsureConnectionStateAsync(HttpConnectionContext connection, HttpContext context, HttpTransportType transportType, HttpTransportType supportedTransports, ConnectionLogScope logScope,
HttpConnectionDispatcherOptions
options)
927
private static void UpdateExpiration(HttpConnectionContext connection, HttpContext context,
HttpConnectionDispatcherOptions
options)
940
private static DateTimeOffset GetAuthenticationExpiration(HttpConnectionContext connection, HttpContext context,
HttpConnectionDispatcherOptions
options)
955
private static DateTimeOffset GetAuthenticationExpiration(AuthenticateResult authenticateResult, ClaimsPrincipal fallbackPrincipal,
HttpConnectionDispatcherOptions
options)
969
private static DateTimeOffset ApplyMaximumAuthenticationExpiration(DateTimeOffset expiration,
HttpConnectionDispatcherOptions
options)
1145
HttpConnectionDispatcherOptions
options,
1169
HttpConnectionDispatcherOptions
options,
Internal\HttpConnectionManager.cs (1)
77
HttpConnectionDispatcherOptions
options,
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();