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