/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Configuration> ApiConfigurationGetAsync(this IHubAPI operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ApiConfigurationGetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> public static Configuration ApiConfigurationGet(this IHubAPI operations) { return(operations.ApiConfigurationGetAsync().GetAwaiter().GetResult()); }