testing RPC over Unix socket + updated docs

This commit is contained in:
Maxime Van Hees
2025-10-23 15:42:05 +02:00
parent 219e612eca
commit 6ae5d6f4f9
2 changed files with 2 additions and 10 deletions

View File

@@ -29,10 +29,8 @@ Test the IPC endpoint interactively with socat (non-HTTP transport):
```bash
sudo socat -d -d -t 5 - UNIX-CONNECT:/tmp/herodb.sock
```
Then paste a framed JSON-RPC request (Content-Length header, blank line, then JSON body). Example:
Then paste a framed JSON-RPC request. Example:
```
Content-Length: 73
{"jsonrpc":"2.0","method":"hero_listDatabases","params":[],"id":3}
```
More IPC examples are in [docs/rpc_examples.md](docs/rpc_examples.md).