public async Task <LobbyData> GetLobby(ulong lobbyId)
        {
            HttpResponseMessage response = await httpClient.GetAsync($"{hostUri}/{LOBBIES_ENDPOINT}/{lobbyId:X16}");

            LobbyData lobby = null;

            if (response.IsSuccessStatusCode)
            {
                lobby = await response.Content.ReadAsAsync <LobbyData>();
            }

            return(lobby);
        }
 public async Task UpdateLobby(ulong lobbyId, LobbyData newData)
 {
     await httpClient.PutAsJsonAsync($"{hostUri}/{LOBBIES_ENDPOINT}/{lobbyId:X16}", newData);
 }
 public async Task CreateLobby(LobbyData data)
 {
     await httpClient.PostAsJsonAsync($"{hostUri}/{LOBBIES_ENDPOINT}", data);
 }