21 types derived from ConnectionHandler
Microsoft.AspNetCore.Http.Connections.Tests (13)
HttpConnectionDispatcherTests.cs (10)
3804public class NeverEndingConnectionHandler : ConnectionHandler 3813public class BlockingConnectionHandler : ConnectionHandler 3823public class SynchronusExceptionConnectionHandler : ConnectionHandler 3831public class ImmediatelyCompleteConnectionHandler : ConnectionHandler 3839public class HttpContextConnectionHandler : ConnectionHandler 3872public class TestConnectionHandler : ConnectionHandler 3901public class ServiceProviderConnectionHandler : ConnectionHandler 3931public class AuthConnectionHandler : ConnectionHandler 3958public class JwtConnectionHandler : ConnectionHandler 3984public class ReconnectConnectionHandler : ConnectionHandler
MapConnectionHandlerTests.cs (3)
430private class MyConnectionHandler : ConnectionHandler 450private class CorsConnectionHandler : ConnectionHandler 472private class AuthConnectionHandler : ConnectionHandler
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionHandler.cs (1)
20public class HubConnectionHandler<[DynamicallyAccessedMembers(Hub.DynamicallyAccessedMembers)] THub> : ConnectionHandler where THub : Hub
Microsoft.AspNetCore.SignalR.Tests (4)
AuthConnectionHandler.cs (1)
12public class AuthConnectionHandler : ConnectionHandler
EchoConnectionHandler.cs (1)
10public class EchoConnectionHandler : ConnectionHandler
HttpHeaderConnectionHandler.cs (1)
14public class HttpHeaderConnectionHandler : ConnectionHandler
WriteThenCloseConnectionHandler.cs (1)
10public class WriteThenCloseConnectionHandler : ConnectionHandler
SignalR.Client.FunctionalTestApp (1)
EchoConnectionHandler.cs (1)
9public class EchoConnectionHandler : ConnectionHandler
SignalRSamples (1)
ConnectionHandlers\MessagesConnectionHandler.cs (1)
11public class MessagesConnectionHandler : ConnectionHandler
SocialWeather (1)
SocialWeatherConnectionHandler.cs (1)
9public class SocialWeatherConnectionHandler : ConnectionHandler
43 references to ConnectionHandler
Microsoft.AspNetCore.Connections.Abstractions (3)
ConnectionBuilderExtensions.cs (3)
17/// Use the given <typeparamref name="TConnectionHandler"/> <see cref="ConnectionHandler"/>. 19/// <typeparam name="TConnectionHandler">The <see cref="Type"/> of the <see cref="ConnectionHandler"/>.</typeparam> 22public static IConnectionBuilder UseConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IConnectionBuilder connectionBuilder) where TConnectionHandler : ConnectionHandler
Microsoft.AspNetCore.Http.Connections (5)
ConnectionEndpointRouteBuilderExtensions.cs (5)
15/// Extension methods on <see cref="IEndpointRouteBuilder"/> that add routes for <see cref="ConnectionHandler"/>s. 34/// <typeparam name="TConnectionHandler">The <see cref="ConnectionHandler"/> type.</typeparam> 38public static ConnectionEndpointRouteBuilder MapConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern) where TConnectionHandler : ConnectionHandler 46/// <typeparam name="TConnectionHandler">The <see cref="ConnectionHandler"/> type.</typeparam> 51public static ConnectionEndpointRouteBuilder MapConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<HttpConnectionDispatcherOptions>? configureOptions) where TConnectionHandler : ConnectionHandler
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
505private IHost BuildWebHost<TConnectionHandler>(string path, Action<HttpConnectionDispatcherOptions> configureOptions, Action<IEndpointConventionBuilder> configureEndpoints = null) where TConnectionHandler : ConnectionHandler
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
69Connections.ConnectionHandler handler,
Microsoft.AspNetCore.SignalR.Tests (32)
HubConnectionHandlerTests.cs (30)
257var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 281var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 304var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory, 338var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 381var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 422var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 460var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 484var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 513var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 547var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 598var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 642var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 663var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 876var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 954var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(MethodHub), loggerFactory: LoggerFactory); 1373var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1449var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1490var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1533var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(SimpleVoidReturningTypedHub), loggerFactory: LoggerFactory); 1553var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1599var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1647var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1692var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1736var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1789var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1840var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1906var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1940var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory); 1973var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 3898var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT),
HubConnectionHandlerTestUtils\Utils.cs (2)
75public static Connections.ConnectionHandler GetHubConnectionHandler(Type hubType, ILoggerFactory loggerFactory = null, Action<ServiceCollection> addServices = null) 78return (Connections.ConnectionHandler)serviceProvider.GetService(GetConnectionHandlerType(hubType));
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
69Connections.ConnectionHandler handler,