Type alias: BeforeRequestHandler
type BeforeRequestHandler: (request, body) => Promise<Request>;
Description
Callback type to change the Request 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
Parameters
Parameter | Type |
---|---|
request | Request |
body | PageDataRequest |