connect To Session

@PutMapping(path = "/connect" )
open fun <T> connectToSession(@RequestBody payload: Map<String, String>): T

Endpoint used to connect to an existing session

Return

the response as T

Parameters

payload

The payload of the request


                             {
                                 "server_secret" : "the server secret used to protect the access to a private backend instance" -> [String],
                                 "password" : "the password used to protect the session accesses" -> [String],
                                 "join_code" : "the join code to connect to the session" -> [String]
                             }
                     
<T>

the type of the response