Пример #1
0
 public string GetJsonText(string api, out Exception exception) => TaskExtensions.RunSync(async() => await GetJsonTextAsync(api), out exception);
Пример #2
0
 public string Send(HttpRequestMessage message, out Exception exception) =>
 TaskExtensions.RunSync(async() => await SendAsync(message), out exception);
Пример #3
0
 public string GetJsonText(string api) => TaskExtensions.RunSync(async() => await GetJsonTextAsync(api));