7 references to _headers
Aspire.Azure.Security.KeyVault.Tests (7)
MockTransport.cs (7)
81
protected override void SetHeader(string name, string value) =>
_headers
[name] = [value];
90
if (!
_headers
.TryGetValue(header.Name, out var values))
92
_headers
[header.Name] = values = new List<string>();
100
if (
_headers
.TryGetValue(name, out var values))
112
protected override bool ContainsHeader(string name) =>
_headers
.TryGetValue(name, out _);
114
protected override bool RemoveHeader(string name) =>
_headers
.Remove(name);
116
protected override IEnumerable<HttpHeader> EnumerateHeaders() =>
_headers
.Select(h => new HttpHeader(h.Key, JoinHeaderValue(h.Value)));