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