Megosztás a következőn keresztül:


IHubContext<THub> Interface

Definition

A context abstraction for a hub.

generic <typename THub>
 where THub : Hubpublic interface class IHubContext
public interface IHubContext<THub> where THub : Hub
public interface IHubContext<out THub> where THub : Hub
type IHubContext<'Hub (requires 'Hub :> Hub)> = interface
Public Interface IHubContext(Of THub)
Public Interface IHubContext(Of Out THub)

Type Parameters

THub

Properties

Clients

Gets a IHubClients 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