Bagikan melalui


IHttpRequestFeature.Headers Properti

Definisi

Mendapatkan atau mengatur header yang disertakan dalam permintaan, diagregasi menurut nama header.

Nilai tidak dibagi atau digabungkan di seluruh baris header. Misalnya header berikut:

  • HeaderA: value1, value2
  • HeaderA: value3
Menghasilkan Header["HeaderA"] = { "value1, value2", "value3" }

public:
 property Microsoft::AspNetCore::Http::IHeaderDictionary ^ Headers { Microsoft::AspNetCore::Http::IHeaderDictionary ^ get(); void set(Microsoft::AspNetCore::Http::IHeaderDictionary ^ value); };
public Microsoft.AspNetCore.Http.IHeaderDictionary Headers { get; set; }
member this.Headers : Microsoft.AspNetCore.Http.IHeaderDictionary with get, set
Public Property Headers As IHeaderDictionary

Nilai Properti

Berlaku untuk