ExecConnection
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.
type ExecConnection {
gatewayUrl: String!
token: String!
host: String!
expiresAt: DateTime!
}
Fields
ExecConnection.gatewayUrl ● String! non-null scalar
The execution host’s gateway, e.g. wss://ckx-or-1.exec.dev.crowdedkingdoms.com.
ExecConnection.token ● String! non-null scalar
Short-lived Ed25519 connect token for this player, this app and this host only.
ExecConnection.host ● String! non-null scalar
The execution host id the token is bound to.
ExecConnection.expiresAt ● DateTime! non-null scalar
When the token stops being accepted; the open socket is not closed then.
Returned By
execConnect mutation ● execConnectAsDeveloper mutation