21 types derived from ConnectionHandler
Microsoft.AspNetCore.Http.Connections.Tests (13)
HttpConnectionDispatcherTests.cs (10)
3804
public class NeverEndingConnectionHandler :
ConnectionHandler
3813
public class BlockingConnectionHandler :
ConnectionHandler
3823
public class SynchronusExceptionConnectionHandler :
ConnectionHandler
3831
public class ImmediatelyCompleteConnectionHandler :
ConnectionHandler
3839
public class HttpContextConnectionHandler :
ConnectionHandler
3872
public class TestConnectionHandler :
ConnectionHandler
3901
public class ServiceProviderConnectionHandler :
ConnectionHandler
3931
public class AuthConnectionHandler :
ConnectionHandler
3958
public class JwtConnectionHandler :
ConnectionHandler
3984
public class ReconnectConnectionHandler :
ConnectionHandler
MapConnectionHandlerTests.cs (3)
430
private class MyConnectionHandler :
ConnectionHandler
450
private class CorsConnectionHandler :
ConnectionHandler
472
private class AuthConnectionHandler :
ConnectionHandler
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionHandler.cs (1)
20
public class HubConnectionHandler<[DynamicallyAccessedMembers(Hub.DynamicallyAccessedMembers)] THub> :
ConnectionHandler
where THub : Hub
Microsoft.AspNetCore.SignalR.Tests (4)
AuthConnectionHandler.cs (1)
12
public class AuthConnectionHandler :
ConnectionHandler
EchoConnectionHandler.cs (1)
10
public class EchoConnectionHandler :
ConnectionHandler
HttpHeaderConnectionHandler.cs (1)
14
public class HttpHeaderConnectionHandler :
ConnectionHandler
WriteThenCloseConnectionHandler.cs (1)
10
public class WriteThenCloseConnectionHandler :
ConnectionHandler
SignalR.Client.FunctionalTestApp (1)
EchoConnectionHandler.cs (1)
9
public class EchoConnectionHandler :
ConnectionHandler
SignalRSamples (1)
ConnectionHandlers\MessagesConnectionHandler.cs (1)
11
public class MessagesConnectionHandler :
ConnectionHandler
SocialWeather (1)
SocialWeatherConnectionHandler.cs (1)
9
public 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>
22
public 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>
38
public 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>
51
public 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)
505
private 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)
69
Connections.
ConnectionHandler
handler,
Microsoft.AspNetCore.SignalR.Tests (32)
HubConnectionHandlerTests.cs (30)
257
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
281
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
304
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory,
338
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
381
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
422
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
460
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
484
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory,
513
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory,
547
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory,
598
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory,
642
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
663
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
876
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
954
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(MethodHub), loggerFactory: LoggerFactory);
1373
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1449
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1490
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1533
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(SimpleVoidReturningTypedHub), loggerFactory: LoggerFactory);
1553
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1599
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1647
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1692
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1736
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1789
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1840
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1906
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1940
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(hubType, loggerFactory: LoggerFactory);
1973
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory);
3898
var
connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT),
HubConnectionHandlerTestUtils\Utils.cs (2)
75
public static Connections.
ConnectionHandler
GetHubConnectionHandler(Type hubType, ILoggerFactory loggerFactory = null, Action<ServiceCollection> addServices = null)
78
return (Connections.
ConnectionHandler
)serviceProvider.GetService(GetConnectionHandlerType(hubType));
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
69
Connections.
ConnectionHandler
handler,