mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-01 06:28:11 +00:00
Updated Json service (markdown)
parent
e799a2384b
commit
a24f3cf988
@ -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 | signal-cli --output=json -u +33123456789 jsonRpc >sigsocket &`
|
||||
mkfifo sigsocket
|
||||
nc -l -p 9182 <sigsocket | signal-cli --output=json -u +33123456789 jsonRpc >sigsocket &
|
||||
|
||||
To communicate with the server from the same machine (localhost), issue the command:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user