pub fn ProxyCallToSideCar(
TargetSideCarIdentifier: String,
CallData: Value,
) -> ActionEffect<Arc<dyn IPCProvider>, CommonError, Value>Expand description
Creates an effect that proxies an RPC call to a specified target sidecar.
This is a powerful utility for scenarios where the host application
(Mountain) needs to act as a router, forwarding a request it received from
one process to another without needing to understand the request’s content.
The entire call payload is encapsulated within the CallData object.
§Parameters
TargetSideCarIdentifier: The unique ID of the sidecar to which the call should be proxied.CallData: A JSONValueexpected to be an object containing{"Method": "...", "Parameters": ...}.
§Returns
An ActionEffect that resolves with the JSON Value returned by the
target sidecar.