Share via


RedisHubLifetimeManager<THub> Class

Definition

generic <typename THub>
 where THub : Hubpublic ref class RedisHubLifetimeManager : Microsoft::AspNetCore::SignalR::HubLifetimeManager<THub>, IDisposable
public class RedisHubLifetimeManager<THub> : Microsoft.AspNetCore.SignalR.HubLifetimeManager<THub>, IDisposable where THub : Hub
type RedisHubLifetimeManager<'Hub (requires 'Hub :> Hub)> = class
    inherit HubLifetimeManager<'Hub (requires 'Hub :> Hub)>
    interface IDisposable
Public Class RedisHubLifetimeManager(Of THub)
Inherits HubLifetimeManager(Of THub)
Implements IDisposable

Type Parameters

THub
Inheritance
RedisHubLifetimeManager<THub>
Implements

Constructors

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver)

Methods

AddToGroupAsync(String, String, CancellationToken)
Dispose()
InvokeConnectionAsync<T>(String, String, Object[], CancellationToken)

Sends an invocation message to the specified connection and waits for a response.

(Inherited from HubLifetimeManager<THub>)
OnConnectedAsync(HubConnectionContext)
OnDisconnectedAsync(HubConnectionContext)
RemoveFromGroupAsync(String, String, CancellationToken)
SendAllAsync(String, Object[], CancellationToken)
SendAllExceptAsync(String, Object[], IReadOnlyList<String>, CancellationToken)
SendConnectionAsync(String, String, Object[], CancellationToken)
SendConnectionsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SendGroupAsync(String, String, Object[], CancellationToken)
SendGroupExceptAsync(String, String, Object[], IReadOnlyList<String>, CancellationToken)
SendGroupsAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SendUserAsync(String, String, Object[], CancellationToken)
SendUsersAsync(IReadOnlyList<String>, String, Object[], CancellationToken)
SetConnectionResultAsync(String, CompletionMessage)

Sets the connection result for an in progress InvokeConnectionAsync<T>(String, String, Object[], CancellationToken) call.

(Inherited from HubLifetimeManager<THub>)
TryGetReturnType(String, Type)

Tells IHubProtocol implementations what the expected type from a connection result is.

(Inherited from HubLifetimeManager<THub>)

Applies to