From 665af8ebb6407b61b5d234f122254f1de52340e2 Mon Sep 17 00:00:00 2001 From: John Freed Date: Fri, 20 Aug 2021 19:14:45 +0200 Subject: [PATCH] Updated Json service (markdown) --- Json-service.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Json-service.md b/Json-service.md index c8ed056..3fc97bf 100644 --- a/Json-service.md +++ b/Json-service.md @@ -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: