> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Real-time messages for Lobby and Matchmaking APIs

> Overview of PlayFab Lobby and Matchmaking real-time messages, letting game clients subscribe over a persistent SignalR WebSocket to receive service updates.

> [!NOTE]
>
> The REST and SignalR APIs documented here are more complex than the client SDKs. Consider using the [Lobby C++ SDK](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md) or [Matchmaking C++ SDK](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md) instead, unless those SDKs don't meet your needs.

The [Lobby and Matchmaking
services](https://docs.xbox.com/services/playfab/multiplayer/lobby/lobby-and-matchmaking.md) offer a real-time
messages feature, which enables individual game clients to subscribe to
receive messages from these services. Game clients subscribe for
messages over a persistent [SignalR WebSocket
connection](https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction). To learn more about
the scenario as a whole, see the [conceptual documentation for Lobby and
Matchmaking real-time
messages](https://docs.xbox.com/services/playfab/multiplayer/lobby/lobby-and-matchmaking-real-time-messages.md).

To use this feature, game clients will first need to [implement a SignalR client
that connects to the SignalR Hub](https://docs.xbox.com/services/playfab/multiplayer/real-time-messages/signalr-hub.md) for real-time messages.
Once connected, the clients can [subscribe to
resources](https://docs.xbox.com/services/playfab/multiplayer/real-time-messages/subscribing-to-resources.md) they would like to receive messages
for.

## See also

* [Real-time messages SignalR Hub](https://docs.xbox.com/services/playfab/multiplayer/real-time-messages/signalr-hub.md)
* [Subscribing to resources](https://docs.xbox.com/services/playfab/multiplayer/real-time-messages/subscribing-to-resources.md)


## Related topics

- [Real-time messages for Lobby and Matchmaking APIs](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/overview.md)
