4 instantiations of HttpConnectionDispatcherOptions
Microsoft.AspNetCore.Http.Connections (3)
ConnectionEndpointRouteBuilderExtensions.cs (2)
30
endpoints.MapConnections(pattern, new
HttpConnectionDispatcherOptions
(), configure);
54
var options = new
HttpConnectionDispatcherOptions
();
Internal\HttpConnectionManager.cs (1)
56
return CreateConnection(
new
());
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
49
var options = new
HttpConnectionDispatcherOptions
();
21 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 (14)
ConnectionEndpointRouteBuilderExtensions.cs (3)
52
public static ConnectionEndpointRouteBuilder MapConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<
HttpConnectionDispatcherOptions
>? configureOptions) where TConnectionHandler : ConnectionHandler
54
var
options = new HttpConnectionDispatcherOptions();
84
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)
62
public async Task ExecuteAsync(HttpContext context,
HttpConnectionDispatcherOptions
options, ConnectionDelegate connectionDelegate)
103
public async Task ExecuteNegotiateAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
122
private async Task ExecuteAsync(HttpContext context, ConnectionDelegate connectionDelegate,
HttpConnectionDispatcherOptions
options, ConnectionLogScope logScope)
337
private async Task ProcessNegotiate(HttpContext context,
HttpConnectionDispatcherOptions
options, ConnectionLogScope logScope)
407
private static void WriteNegotiatePayload(IBufferWriter<byte> writer, string? connectionId, string? connectionToken, HttpContext context,
HttpConnectionDispatcherOptions
options,
805
private async Task<HttpConnectionContext?> GetOrCreateConnectionAsync(HttpContext context,
HttpConnectionDispatcherOptions
options)
827
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.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();