ClientWebSocket.HttpResponseHeaders 屬性

定義

如果 CollectHttpResponseDetails 設定) 或設定升級響應標頭,則取得 (。

public:
 property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ HttpResponseHeaders { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ get(); void set(System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IEnumerable<System::String ^> ^> ^ value); };
public System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IEnumerable<string>>? HttpResponseHeaders { get; set; }
member this.HttpResponseHeaders : System.Collections.Generic.IReadOnlyDictionary<string, seq<string>> with get, set
Public Property HttpResponseHeaders As IReadOnlyDictionary(Of String, IEnumerable(Of String))

屬性值

備註

setter 可用來減少不再需要標頭之後,作用中 WebSocket 連線的記憶體使用量。

適用於