RpcResponseTransformer
A function that accepts a RpcResponse and returns another RpcResponse.
This allows the RpcApi to transform the response before it is returned to the caller.
Type Parameters
| Type Parameter | Default type |
|---|---|
TResponse | unknown |
Parameters
| Parameter | Type |
|---|---|
response | unknown |
request | RpcRequest |
Returns
TResponse