public static IHttpClientBuilder AddHeader(this IHttpClientBuilder builder, Action <HeaderifyOptions> configureHeaderify)
        {
            builder.AddHttpMessageHandler(serviceProvider =>
            {
                var options = new HeaderifyOptions();
                configureHeaderify.Invoke(options);
                return(new HeaderifyDelgateHandler(options));
            });

            return(builder);
        }
 public HeaderifyDelgateHandler(HeaderifyOptions headerifyOptions)
 {
     _headerifyOptions = headerifyOptions;
 }