ClientWebSocket.HttpResponseHeaders Propriedade

Definição

Obtém (se CollectHttpResponseDetails estiver definido) ou define os cabeçalhos de resposta de atualização.

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

Valor da propriedade

Comentários

O setter pode ser usado para reduzir o uso de memória de uma conexão WebSocket ativa depois que os cabeçalhos não forem mais necessários.

Aplica-se a