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 ILayoutRequestHandlerMethods
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
| Type | Name | Description |
|---|---|---|
| SitecoreLayoutRequest | request |
The request details. |
| System.String | handlerName |
The name of the request handler to use to handle the request. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<SitecoreLayoutResponse> |
The response of the request. |