public WithCustomHeaders ( string>.Dictionary |
||
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;
}