Share via


HttpRequestFeature.Headers Property

Definition

Gets or sets headers included in the request, aggregated by header name.

The values are not split or merged across header lines. E.g. The following headers:

  • HeaderA: value1, value2
  • HeaderA: value3
Result in Headers["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

Property Value

Implements

Applies to