HostedMcpServerTool.Headers 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
원격 MCP 서버를 호출할 때 포함할 HTTP 헤더의 변경 가능한 사전을 가져오거나 설정합니다.
public:
property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ Headers { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); void set(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ value); };
public System.Collections.Generic.IDictionary<string,string>? Headers { get; set; }
member this.Headers : System.Collections.Generic.IDictionary<string, string> with get, set
Public Property Headers As IDictionary(Of String, String)
속성 값
설명
기본 공급자는 헤더를 지원하거나 적용하도록 보장되지 않습니다.
이 속성은 MCP 서버에 필요한 인증 헤더 또는 다른 헤더를 지정하는 데 유용합니다.
HTTP 헤더 이름은 대/소문자를 구분하지 않습니다. 호출자는 사전을 생성할 때 비교를 사용해야 OrdinalIgnoreCase 합니다.