Example #1
0
        public static IRestClient AsRestClient(this IHttpClient client, Action <IClientSettingsBuilder> settings,
                                               IBuildContext context)
        {
            var builder = new ClientSettingsBuilder();

            settings(builder);

            return(client.AsRestClient(builder.Build(context)));
        }