DynamicRest.Fluent.RestClientBuilder.WithCustomHeaders C# (CSharp) Méthode

WithCustomHeaders() public méthode

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