6 references to MapConnectionHandler
Microsoft.AspNetCore.Http.Connections (1)
ConnectionEndpointRouteBuilderExtensions.cs (1)
40return endpoints.MapConnectionHandler<TConnectionHandler>(pattern, configureOptions: null);
Microsoft.AspNetCore.Http.Connections.Tests (5)
HttpConnectionDispatcherTests.cs (3)
3233endpoints.MapConnectionHandler<AuthConnectionHandler>("/foo", o => o.CloseOnAuthenticationExpiration = true); 3300endpoints.MapConnectionHandler<AuthConnectionHandler>("/foo", o => o.CloseOnAuthenticationExpiration = true); 3395endpoints.MapConnectionHandler<JwtConnectionHandler>("/foo", o => o.CloseOnAuthenticationExpiration = true);
MapConnectionHandlerTests.cs (2)
321endpoints.MapConnectionHandler<AuthConnectionHandler>("/path", options => 522var builder = routes.MapConnectionHandler<TConnectionHandler>(path, configureOptions);