static RatelHttpHelpServer() { var ratelHttpHelp = RatelHttpHelp.Sington(); ratelHttpHelp.Confkey_Headers(); ratelHttpHelp.AddUrl("http://127.0.0.1:7891"); ratelHttpHelp.AddUrl("http://127.0.0.1:7892"); ratelHttpHelp.AddUrl("http://127.0.0.1:7893"); }
public static async Task <string> GetValueAsync(string _businesstype, string _key) { return(await RatelHttpHelp.Sington().GetValue(_businesstype, _key)); }
public static string GetValue(string _businesstype, string _key) { return(RatelHttpHelp.Sington().GetValue(_businesstype, _key).GetAwaiter().GetResult()); }