1 write to _headers
Microsoft.Extensions.AI.Abstractions (1)
Tools\HostedMcpServerTool.cs (1)
180
public IDictionary<string, string> Headers =>
_headers
??= new Dictionary<string, string>();
3 references to _headers
Microsoft.Extensions.AI.Abstractions (3)
Tools\HostedMcpServerTool.cs (3)
121
if (
_headers
?.TryGetValue(AuthorizationHeaderName, out string? value) is true &&
135
else if (
_headers
is not null)
137
_ =
_headers
.Remove(AuthorizationHeaderName);