ReceiveSubscriptionChangeMessage

Note

Using Lobby, Matchmaking, and real-time notifications directly with REST and SignalR APIs is significantly more complex than using client SDKs such as the Lobby C++ SDK and Matchmaking C++ SDK, and should only be done if the SDKs don't meet your needs.

Receives SubscriptionChangeMessages, so the client will know when its subscription status changes. This message indicates that a request to subscribe or unsubscribe has finished processing. It is possible that the service will fail to perform a subscription update in a way where the client will never receive this message. Because of this, clients should implement a timer so they can retry the subscription call if no SubscriptionChangeMessage is received by this method after 5 seconds. This timer-based retry can be performed a few times with exponential backoff for subsequent attempts.

ReceiveSubscriptionChangeMessage(SubscriptionChangeMessage subscriptionChangeMessage)

Tip

This is a SignalR client method. See documentation on exposing client methods in a SignalR client, which will be invoked by the server.

Parameters

SubscriptionChangeMessage

See also