SignalRDependencyInjectionExtensions.AddSignalR Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds SignalR services to the specified IServiceCollection.
public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddSignalR (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.SignalR.HubOptions> configure);
static member AddSignalR : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddSignalR (services As IServiceCollection, configure As Action(Of HubOptions)) As ISignalRServerBuilder