Support for message oriented streams
Let me preface this by saying I don't glib much, so this might not be doable without a ton of work.
I'd like to use JSON-RPC over WebSockets. Since WebSockets are already message-oriented, I can't really use them directly with the API provided by jsonrpc-glib.
Would it be reasonable to create an interface that sits above Jsonrpc.InputStream
and add a jsonrpc_client_new_with_message_stream
constructor?
It seems like that would be reasonable to connect to libsoup's WebsocketConnection::message
signal.