connect To Session

suspend fun connectToSession(serverSecret: String, joinCode: String, password: String): JsonObject

Request to connect to a specific session

Return

the response of the request as JsonObject

Parameters

serverSecret

The secret of the server

joinCode

The code used to join in the session

password

The password which protects the session accesses