mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-04 05:00:39 +00:00
Accept JSON formatted command via sockets
- Start ServerSocket and listen for clients - Accept multiple JSON objects as commands * Send messages (single recipient / group) * Receive messages (minimal support) * Send reactions - Support attachments embedded in JSON (base64 encoded)
This commit is contained in:
parent
c3c1802b4d
commit
4f3e3f9a24
24 changed files with 1130 additions and 4 deletions
|
@ -368,6 +368,16 @@ Use DBus system bus instead of user bus.
|
|||
*--ignore-attachments*::
|
||||
Don’t download attachments of received messages.
|
||||
|
||||
=== TCP daemon
|
||||
|
||||
Run the signal-cli in daemon mode accepting commands in JSON format via a TCP socket.
|
||||
Detailed information about the JSON format can be found here <https://github.com/AsamK/signal-cli/json_socket.md>
|
||||
|
||||
*-p*, *--port*::
|
||||
Specify the listening port. Default is `6789`
|
||||
*-a*, *--address*::
|
||||
Bind socket to specified IP address. Default is `127.0.0.1`
|
||||
|
||||
== Examples
|
||||
|
||||
Register a number (with SMS verification)::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue