Does confd support WebSockets?
Can WebSockets be used for implementing the publish-subscribe model?
I am using RESTCONF APIs from web app to communicate to confd. I would like to check if I can do a pub-sub model if there are any changes made by other interfaces.
As you discovered, you can use the JSON-RPC API and Comet by for example using the subscribe_change, subscribe_cdboper, etc methods.
An example can be found in the ConfD example set under examples.confd/json_rpc/common_flow