Class ForwardHeadersOptions
Version: 21.x
Options to configure headers forwarding.
Inheritance
System.Object
ForwardHeadersOptions
Namespace: Sitecore.AspNet.RenderingEngine.Configuration
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
Constructors
ForwardHeadersOptions()
Declaration
Properties
HeadersWhitelist
Gets whitelist of headers allowed to be transferred to Layout Service request.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.HashSet < System.String > |
RequestHeadersFilters
Gets filters, which will be applied sequentially during copying of headers from request to Layout service request.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList < System.Action < Microsoft.AspNetCore.Http.HttpRequest , System.Collections.Generic.IDictionary < System.String , System.String []>>> |
ResponseHeadersFilters
Gets filters, which will be applied sequentially during copying of headers from Layout service response to response sent by rendering host.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList < System.Action < System.Linq.ILookup < System.String , System.String >, System.Collections.Generic.IDictionary < System.String , System.String []>>> |
If you have suggestions for improving this article, let us know!