When investigating failures, you may find StreamJsonRpc's tracing functionality useful.
With the JsonRpc.TraceSource
property, you can listen for:
- Which server methods are registered
- Incoming and outgoing JSON-RPC messages and how they're being handled along the entire pipeline
- When listening is started
- RPC method invocation failures with full exception callstacks.
The above is just a sample. The full list of events is available on the JsonRpc.TraceEvents
enum.