json_rpc_2 1.0.0
json_rpc_2: ^1.0.0 copied to clipboard
An implementation of the JSON-RPC 2.0 spec.
1.0.0 #
-
Add a
Clientclass for communicating with external JSON-RPC 2.0 servers. -
Add a
Peerclass that's both aClientand aServer.
0.1.0 #
-
Remove
Server.handleRequest()andServer.parseRequest(). Instead,new Server()takes aStreamand aStreamSinkand uses those behind-the-scenes for its communication. -
Add
Server.listen(), which causes the server to begin listening to the underlying request stream. -
Add
Server.close(), which closes the underlying request stream and response sink.
0.0.2+3 #
- Widen the version constraint for
stack_trace.
0.0.2+2 #
- Fix error response to include data from
RpcExceptionwhen not a map.