DynamicRest.Fluent.RestClientBuilder.WithCustomHeaders C# (CSharp) Method

WithCustomHeaders() public method

public WithCustomHeaders ( string>.Dictionary headers ) : IRestClientBuilder
headers string>.Dictionary
return IRestClientBuilder
        public IRestClientBuilder WithCustomHeaders(Dictionary<string, string> headers)
        {
            foreach (var header in headers)
            {
                _customHeaders.Add(header.Key, header.Value);
            }
            return this;
        }