public static IRestClient AsRestClient(this IHttpClient client, Action <IClientSettingsBuilder> settings, IBuildContext context) { var builder = new ClientSettingsBuilder(); settings(builder); return(client.AsRestClient(builder.Build(context))); }
public static IRestClient AsRestClient(this IHttpClient client, Action <IClientSettingsBuilder> settings, IBuildContext context) { var builder = new ClientSettingsBuilder(); settings(builder); return(client.AsRestClient(builder.Build(context))); }