Bagikan melalui


ClientWebSocket.HttpResponseHeaders Properti

Definisi

Mendapatkan (jika CollectHttpResponseDetails diatur) atau mengatur header respons peningkatan.

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))

Nilai Properti

Keterangan

Setter dapat digunakan untuk mengurangi penggunaan memori koneksi WebSocket aktif setelah header tidak lagi diperlukan.

Berlaku untuk