execConnect
Connect a player to ck-exec: the execution manager picks a host (the one running nodeType/key when given, placing it if needed) and this returns its gateway and a 60-second connect token bound to this player, this app and that host. Requires the app-scoped token of the app named.
execConnect(
appId: BigInt!
nodeType: String
key: String
): ExecConnection!
Arguments
execConnect.appId ● BigInt! non-null scalar
The app to connect to; must match the app token.
execConnect.nodeType ● String scalar
Put the player on the host running an instance of this type (with key).
execConnect.key ● String scalar
The instance key within nodeType; empty for the root hub or a spoke.
Type
ExecConnection object
Where and how a game client connects to ck-exec, the hub-and-spoke execution service. Open a WebSocket to {gatewayUrl}/v1/connect?token={token} before expiresAt.