game / pragma.matchlifecycle / MatchLifecycleService / matchKeepAliveV1 /
matchKeepAliveV1 #
suspend fun matchKeepAliveV1(session: PartnerSession, request: MatchLifecycleRpc.MatchKeepAliveV1Request): MatchLifecycleRpc.MatchKeepAliveV1Response
Invoked by the game server to indicate that a match is still operating normally.
Endpoint verifies that a match is still being tracked by the MatchLifecycleService and throws a PragmaError.MatchLifecycleService_UnknownMatchId if this is not the case. This endpoint should only be used if MatchLifecycleServiceConfig.enableKeepAlive is enabled.
PragmaResultErrors
- PragmaError.MatchLifecycleService_UnknownMatchId - If match ID from request is not found.