create Session

suspend fun createSession(serverSecret: String, password: String): JsonObject

Request to create a new session

Return

the response of the request as JsonObject

Parameters

serverSecret

The secret of the server

password

The password which protects the session accesses