Type alias: BeforeRequestHandler

type BeforeRequestHandler: (request, body) => Promise<Request>;

Description

Callback type to change the Requestopen in new window object before it is sent to the server from the built-in server side data service. This is useful when you need to map the PageDataRequest to a different data contract.

See

dotnet IQueryable helpersopen in new window

Parameters

ParameterType
requestRequestopen in new window
bodyPageDataRequest

Returns

Promiseopen in new window<Requestopen in new window>