Fraunhofer-IIS / libjapi

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

Open fraunhofer-iis-bot opened 5 years ago

fraunhofer-iis-bot commented 5 years ago

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:

vornkat-iis commented 1 year ago

Remove socket from japi_pushsrv_subscribe / japi_pushsrv_unsubscribe in 3eb513f43cc38e2df619aa512ba78963d243a5bb to fit signature of a common request. Socket is instead passed through jreq.