13 references to MapHub
Microsoft.AspNetCore.Components.Server (1)
Builder\ComponentEndpointRouteBuilderExtensions.cs (1)
76var hubEndpoint = endpoints.MapHub<ComponentHub>(path, configureOptions);
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
28return endpoints.MapHub<THub>(pattern, configureOptions: null);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
Startup.cs (4)
96endpoints.MapHub<TestHub>("/default", o => o.AllowStatefulReconnects = true); 105endpoints.MapHub<TestHub>("/default-nowebsockets", options => options.Transports = HttpTransportType.LongPolling | HttpTransportType.ServerSentEvents); 107endpoints.MapHub<TestHub>("/negotiateProtocolVersion12", options => 112endpoints.MapHub<TestHub>("/negotiateProtocolVersionNegative", options =>
Microsoft.AspNetCore.SignalR.Tests (6)
MapSignalRTests.cs (6)
77using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 108using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 149using (var host = BuildWebHost(routes => routes.MapHub<InheritedAuthHub>("/path", options => 178using (var host = BuildWebHost(routes => routes.MapHub<DoubleAuthHub>("/path", options => 207using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options => 237using (var host = BuildWebHost(routes => routes.MapHub<AuthHub>("/path", options =>
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
235endpoints.MapHub<TestHub>("/testhub-nowebsockets", options => options.Transports = HttpTransportType.ServerSentEvents | HttpTransportType.LongPolling);