Exemple #1
0
        // Unprotected
        public async Task <IStartSessionResponse.StartSession> StartSession(string key)
        {
            var result = await client.SendMutationAsync <IStartSessionResponse>(mutations.START_SESSION(key, _projectID, Guid.NewGuid().ToString("N")));

            _sessionID = result.Data.startSession.sessionID;
            _deviceID  = result.Data.startSession.deviceID;

            return(result.Data.startSession);
        }