RPC - a remote procedure call that can be fired by the client and return sometime later with a response from the server, possibly an error.
Publish/subscribe - client can subscribe to a topic provided by the server, possibly with a filter on the parts of interest. When the topic has updated results, the server publishes them to the client, without further action on the client's part.
This package is just the client side of wslink. See the github repo for the full story - and to contribute or report issues!
Free to use in open-source and commercial projects, under the BSD-3-Clause license.