Interface ILayoutRequestHandler

Version: 21.x

Supports making requests to the Sitecore layout service.

Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public interface ILayoutRequestHandler

Methods

Request(SitecoreLayoutRequest, String)

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

Declaration
RequestResponse
Task<SitecoreLayoutResponse> Request(SitecoreLayoutRequest request, string handlerName)
Parameters
TypeNameDescription
SitecoreLayoutRequestrequest

The request details.

System.StringhandlerName

The name of the request handler to use to handle the request.

Returns
TypeDescription
System.Threading.Tasks.Task<SitecoreLayoutResponse>

The response of the request.

Do you have some feedback for us?

If you have suggestions for improving this article,