SignalRDependencyInjectionExtensions SignalRDependencyInjectionExtensions SignalRDependencyInjectionExtensions Class

Definition

Extension methods for setting up SignalR services in an IServiceCollection.

public static class SignalRDependencyInjectionExtensions
type SignalRDependencyInjectionExtensions = class
Public Module SignalRDependencyInjectionExtensions
Inheritance
SignalRDependencyInjectionExtensionsSignalRDependencyInjectionExtensionsSignalRDependencyInjectionExtensions

Methods

AddHubOptions<THub>(ISignalRServerBuilder, Action<HubOptions<THub>>) AddHubOptions<THub>(ISignalRServerBuilder, Action<HubOptions<THub>>) AddHubOptions<THub>(ISignalRServerBuilder, Action<HubOptions<THub>>)

Adds hub specific options to an ISignalRServerBuilder.

AddSignalR(IServiceCollection) AddSignalR(IServiceCollection) AddSignalR(IServiceCollection)

Adds SignalR services to the specified IServiceCollection.

AddSignalR(IServiceCollection, Action<HubOptions>) AddSignalR(IServiceCollection, Action<HubOptions>) AddSignalR(IServiceCollection, Action<HubOptions>)

Adds SignalR services to the specified IServiceCollection.

AddSignalRCore(IServiceCollection) AddSignalRCore(IServiceCollection) AddSignalRCore(IServiceCollection)

Adds the minimum essential SignalR services to the specified IServiceCollection. Additional services must be added separately using the ISignalRServerBuilder returned from this method.

Applies to