AgenticHeaderProvider.GetHeaders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns headers to inject on outgoing requests. Called each time AddHeaderPropagation(HttpClient) executes.
public System.Collections.Generic.IEnumerable<Microsoft.Agents.Core.HeaderPropagation.HeaderPropagationEntry> GetHeaders();
abstract member GetHeaders : unit -> seq<Microsoft.Agents.Core.HeaderPropagation.HeaderPropagationEntry>
override this.GetHeaders : unit -> seq<Microsoft.Agents.Core.HeaderPropagation.HeaderPropagationEntry>
Public Iterator Overridable NotOverridable Function GetHeaders () As IEnumerable(Of HeaderPropagationEntry)
Returns
A collection of header entries to apply.