Updated Json service (markdown)

John Freed 2021-08-20 19:14:45 +02:00
parent eec072b329
commit 665af8ebb6

@ -1,6 +1,8 @@
signal-cli (proposed release) supports a JSON RPC server that accepts input on STDIN and replies on STDOUT. See (https://github.com/AsamK/signal-cli/discussions/679)
`signal-cli --output=json -u _USERNAME_ jsonRpc`
`signal-cli -u _USERNAME_ jsonRpc`
Note that for the `JsonRpc` command, `--output=json` is the default.
It is possible to communicate with the server over the network using named pipes. For example, the following commands set up a JSON RPC signal-cli server listening on local port 9182: