1 implementation of ISignalRServerBuilder
Microsoft.AspNetCore.SignalR.Core (1)
Internal\SignalRBuilder.cs (1)
8
internal sealed class SignalRServerBuilder :
ISignalRServerBuilder
34 references to ISignalRServerBuilder
Microsoft.AspNetCore.SignalR (10)
SignalRDependencyInjectionExtensions.cs (10)
17
/// Adds hub specific options to an <see cref="
ISignalRServerBuilder
"/>.
20
/// <param name="signalrBuilder">The <see cref="
ISignalRServerBuilder
"/>.</param>
22
/// <returns>The same instance of the <see cref="
ISignalRServerBuilder
"/> for chaining.</returns>
23
public static
ISignalRServerBuilder
AddHubOptions<THub>(this
ISignalRServerBuilder
signalrBuilder, Action<HubOptions<THub>> configure) where THub : Hub
36
/// <returns>An <see cref="
ISignalRServerBuilder
"/> that can be used to further configure the SignalR services.</returns>
37
public static
ISignalRServerBuilder
AddSignalR(this IServiceCollection services)
55
/// <returns>An <see cref="
ISignalRServerBuilder
"/> that can be used to further configure the SignalR services.</returns>
56
public static
ISignalRServerBuilder
AddSignalR(this IServiceCollection services, Action<HubOptions> configure)
60
var
signalrBuilder = services.AddSignalR();
Microsoft.AspNetCore.SignalR.Core (3)
SignalRDependencyInjectionExtensions.cs (3)
18
/// must be added separately using the <see cref="
ISignalRServerBuilder
"/> returned from this method.
21
/// <returns>An <see cref="
ISignalRServerBuilder
"/> that can be used to further configure the SignalR services.</returns>
22
public static
ISignalRServerBuilder
AddSignalRCore(this IServiceCollection services)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (21)
RedisDependencyInjectionExtensions.cs (21)
11
/// Extension methods for configuring Redis-based scale-out for a SignalR Server in an <see cref="
ISignalRServerBuilder
" />.
16
/// Adds scale-out to a <see cref="
ISignalRServerBuilder
"/>, using a shared Redis server.
18
/// <param name="signalrBuilder">The <see cref="
ISignalRServerBuilder
"/>.</param>
19
/// <returns>The same instance of the <see cref="
ISignalRServerBuilder
"/> for chaining.</returns>
20
public static
ISignalRServerBuilder
AddStackExchangeRedis(this
ISignalRServerBuilder
signalrBuilder)
26
/// Adds scale-out to a <see cref="
ISignalRServerBuilder
"/>, using a shared Redis server.
28
/// <param name="signalrBuilder">The <see cref="
ISignalRServerBuilder
"/>.</param>
30
/// <returns>The same instance of the <see cref="
ISignalRServerBuilder
"/> for chaining.</returns>
31
public static
ISignalRServerBuilder
AddStackExchangeRedis(this
ISignalRServerBuilder
signalrBuilder, string redisConnectionString)
40
/// Adds scale-out to a <see cref="
ISignalRServerBuilder
"/>, using a shared Redis server.
42
/// <param name="signalrBuilder">The <see cref="
ISignalRServerBuilder
"/>.</param>
44
/// <returns>The same instance of the <see cref="
ISignalRServerBuilder
"/> for chaining.</returns>
45
public static
ISignalRServerBuilder
AddStackExchangeRedis(this
ISignalRServerBuilder
signalrBuilder, Action<RedisOptions> configure)
53
/// Adds scale-out to a <see cref="
ISignalRServerBuilder
"/>, using a shared Redis server.
55
/// <param name="signalrBuilder">The <see cref="
ISignalRServerBuilder
"/>.</param>
58
/// <returns>The same instance of the <see cref="
ISignalRServerBuilder
"/> for chaining.</returns>
59
public static
ISignalRServerBuilder
AddStackExchangeRedis(this
ISignalRServerBuilder
signalrBuilder, string redisConnectionString, Action<RedisOptions> configure)