diff options
author | Moritz Poldrack <git@moritz.sh> | 2023-03-04 10:56:45 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-07 00:12:47 +0100 |
commit | 4838efdb1d5a746432a30ef0b86b090aab52fa7a (patch) | |
tree | 10c1c6954e47395ae9b310ce268a77cf9924a4d8 /lib/calendar | |
parent | 3dbf33bb4c8988851eeed0292fcdc170eb0ee6c7 (diff) | |
download | aerc-4838efdb1d5a746432a30ef0b86b090aab52fa7a.tar.gz |
ipc: change protocol to JSON
In overhauling the IPC, it has become necessary to switch to a more
extendable message format, to ensure more complex commands can be sent.
Messages have the following basic structure and must not contain
linebreaks, as these are used to delimit separate messages from one
another.
{"arguments": ["mailto:moritz@poldrack.dev"]}
The responses have the following structure:
{"error": "epic fail"}
If the IPC request was successful, "error" will be empty.
{"error": ""}
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/calendar')
0 files changed, 0 insertions, 0 deletions