-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Scenario: Multiple listeners deployed worldwide, each listener belongs to a group. When a message is published it belongs to every listener in the group (or if you want to design it as such, to that user which has multiple listeners attached). How does the listener, using the .NET client, tell the hub what group it's in (or what user it is)?
From what I can gather (this article doesn't make it clear), I can pass context on the client query string and then access this HTTP context in the OnConnected event of the Hub.
I worked this out by trial and error..... I'm sorry, but a number of these examples are just too simple and leave many questions unanswered as a tutorial.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c8d77892-d376-2f23-2634-f5d34d962a1e
- Version Independent ID: 92ed6330-b49f-1620-6beb-8556a78ac7da
- Content: Manage users and groups in SignalR
- Content Source: aspnetcore/signalr/groups.md
- Product: aspnet-core
- GitHub Login: @rachelappel
- Microsoft Alias: rachelap