API
IGroupManager.AddToGroupAsync
Adds a connection to a named group.
Formal Syntax & Structure
csharp syntaxcsharp
Groups.AddToGroupAsync(Context.ConnectionId, "demo")Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.Groups.AddToGroupAsync(Context.ConnectionId, "demo")