-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I think Matt mentioned this early on: what we have is fairly close to JSON-RPC. Maybe it's worth making it compatible?
JSON-RPC 1.0 uses an array of arguments, but 2.0 supports named parameters, so it would be almost identical to what we have (rename inputs to params, outputs to result).
One nice thing about using JSON-RPC is we could potentially expose WebPipes over more efficient transports like TCP sockets/WebSockets/ZeroMQ. When using HTTP we could drop the id and method field (since the "method" is in the URL). When using a socket, the method would just be the url or path, and id would be used to pair the response with the request.
Metadata
Metadata
Assignees
Labels
No labels