ClientWebSocket.HttpResponseHeaders Property

Definition

Gets (if CollectHttpResponseDetails is set) or sets the upgrade response headers.

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

Property Value

Remarks

The setter can be used to reduce the memory usage of an active WebSocket connection once headers are no longer needed.

Applies to