public Client(String str) { httpClient = new HttpClient(); cts = new CancellationTokenSource(); server = str; } private async Task<string> HttpRequestAsync(Func<Task<string>> httpRequestFuncAsync, Action<String> Change, Action Wait,int flag)