HubConnectionStore Class

Definition

Stores HubConnectionContexts by ID.

C#
public class HubConnectionStore
Inheritance
HubConnectionStore

Remarks

This API is meant for internal usage.

Constructors

Properties

Count

The number of connections in the store.

Item[String]

Get the HubConnectionContext by connection ID.

Methods

Add(HubConnectionContext)

Add a HubConnectionContext to the store.

GetEnumerator()

Gets an enumerator over the connection store.

Remove(HubConnectionContext)

Removes a HubConnectionContext from the store.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0