DynamicRest.Fluent.RestClientBuilder.WithCustomHeaders C# (CSharp) 메소드

WithCustomHeaders() 공개 메소드

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