From a24f3cf988b0b0e0adc39759aa58b2fa70d1cc5a Mon Sep 17 00:00:00 2001 From: John Freed Date: Thu, 19 Aug 2021 22:13:39 +0200 Subject: [PATCH] Updated Json service (markdown) --- Json-service.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Json-service.md b/Json-service.md index fb1496a..ebe1b4f 100644 --- a/Json-service.md +++ b/Json-service.md @@ -2,9 +2,10 @@ signal-cli (proposed release) supports a JSON RPC server that accepts input on `signal-cli --output=json -u _USERNAME_ jsonRpc` -It is possible to communicate with the server over the network using named pipes. For example, the following command sets up a JSON RPC signal-cli server listening on local port 9182: +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: -`nc -l -p 9182 sigsocket &` + mkfifo sigsocket + nc -l -p 9182 sigsocket & To communicate with the server from the same machine (localhost), issue the command: