Exemple #1
0
        public static HttpRequestBuilder <T> Headers <T>(this HttpRequestBuilder <T> builder, IDictionary <string, string> headers)
        {
            if (headers == null)
            {
                return(builder);
            }

            foreach (var header in headers)
            {
                builder.Header(header.Key, header.Value);
            }

            return(builder);
        }