Delen via


IHubContext<THub,T> Interface

Definition

A context abstraction for a hub.

generic <typename THub, typename T>
 where THub : Hub<T> where T : classpublic interface class IHubContext
public interface IHubContext<THub,T> where THub : Hub<T> where T : class
type IHubContext<'Hub, 'T (requires 'Hub :> Hub<'T> and 'T : null)> = interface
Public Interface IHubContext(Of THub, T)

Type Parameters

THub
T

Properties

Clients

Gets a IHubClients<T> that can be used to invoke methods on clients connected to the hub.

Groups

Gets a IGroupManager that can be used to add and remove connections to named groups.

Applies to