Interface ILayoutRequestHandler

Version: 21.x

Supports making requests to the Sitecore layout service.

Namespace: Sitecore.LayoutService.Client

Assembly: Sitecore.LayoutService.Client.Abstractions.dll

Syntax

public interface ILayoutRequestHandler

Methods

Request(SitecoreLayoutRequest, String)

Handles a request to the Sitecore layout service using the specified handler.

Declaration
Task<SitecoreLayoutResponse> Request(SitecoreLayoutRequest request, string handlerName)
Parameters
TypeNameDescription
SitecoreLayoutRequestrequestThe request details.
System.StringhandlerNameThe name of the request handler to use to handle the request.
Returns
TypeDescription
System.Threading.Tasks.Task

<

SitecoreLayoutResponse

>
The response of the request.
If you have suggestions for improving this article, let us know!