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