libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
MIT License
3
stars
1
forks
source link
pass japi_client context instead of raw socket ids #12
Remove socket from japi_pushsrv_subscribe / japi_pushsrv_unsubscribe in 3eb513f43cc38e2df619aa512ba78963d243a5bb to fit signature of a common request. Socket is instead passed through jreq.
In GitLab by @cstender on Jul 8, 2019, 15:57
It shall be discussed if we better pass a japi_client context instead of raw socket ids to the following functions: