Table of Contents

Interface ILayoutRequestHandler

Namespace
Sitecore.AspNetCore.SDK.LayoutService.Client.Interfaces
Assembly
Sitecore.AspNetCore.SDK.LayoutService.Client.dll

Supports making requests to the Sitecore layout service.

public interface ILayoutRequestHandler

Methods

Request(SitecoreLayoutRequest, string)

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

Task<SitecoreLayoutResponse> Request(SitecoreLayoutRequest request, string handlerName)

Parameters

request SitecoreLayoutRequest

The request details.

handlerName string

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

Returns

Task<SitecoreLayoutResponse>

The response of the request.