- SignalR Realtime Application Cookbook
- Roberto Vespa
- 88字
- 2021-07-16 12:02:53
Chapter 2. Using Hubs
In this chapter, we will cover:
- Adding a method to a Hub and counting the calls to it
- Calling back the caller from a Hub's method
- Broadcasting to all connected clients
- Adding a connection to a group
- Removing a connection from a group
- Broadcasting to all connected clients except the caller
- Broadcasting to all clients except the specified ones
- Broadcasting to all clients in a group except the caller
- Broadcasting from outside a Hub
- Using the return value of a Hub method