Refresh Token using Static HttpClient
问题 Using VS 2017 .Net 4.5.2 I have the following class public static class MyHttpClient { //fields private static Lazy<Task<HttpClient>> _Client = new Lazy<Task<HttpClient>>(async () => { var client = new HttpClient(); await InitClient(client).ConfigureAwait(false); return client; }); //properties public static Task<HttpClient> ClientTask => _Client.Value; //methods private static async Task InitClient(HttpClient client) { //resey headers client.DefaultRequestHeaders.Clear(); //Set base URL, NOT