Class HttpLayoutRequestHandlerOptions

Version: 21.x

Options to control the HttpLayoutRequestHandler for the Sitecore layout service.

Inheritance
System.Object
HttpLayoutRequestHandlerOptions
Implements
IMapRequest<System.Net.Http.HttpRequestMessage>
Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.dll
Syntax
RequestResponse
public class HttpLayoutRequestHandlerOptions : Object, IMapRequest<HttpRequestMessage>

Constructors

HttpLayoutRequestHandlerOptions()

Declaration
RequestResponse
public HttpLayoutRequestHandlerOptions()

Properties

RequestMap

Gets or sets the list of mappings from a SitecoreLayoutRequest to T.

Declaration
RequestResponse
public List<Action<SitecoreLayoutRequest, HttpRequestMessage>> RequestMap { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List<System.Action<SitecoreLayoutRequest, System.Net.Http.HttpRequestMessage>>

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,