---
title: "Interface ILayoutRequestHandler"
slug: "sitecore.layoutservice.client.ilayoutrequesthandler"
abstract: ""
---
# Interface ILayoutRequestHandler

Supports making requests to the Sitecore layout service.

## **Namespace**: Sitecore.LayoutService.Client

### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

#### Syntax

```csharp
public interface ILayoutRequestHandler

```

### Methods

#### Request(SitecoreLayoutRequest, String)

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

##### Declaration

```csharp
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<br><br><<br><br>SitecoreLayoutResponse<br><br>> | The response of the request. |
