JSON::RPC2 - Transport-independent implementation of JSON-RPC 2.0
This document describes JSON::RPC2 version v2.1.1
This module implement JSON-RPC 2.0 protocol in transport-independent way. It was very surprising for me to find on CPAN a lot of transport-dependent implementations of (by nature) transport-independent protocol!
Also it support non-blocking client remote procedure call and both blocking and non-blocking server method execution. This can be very useful in case server methods will need to do some RPC or other slow things like network I/O, which can be done in parallel with executing other server methods in any event-based environment.
There a lot of other RPC modules on CPAN, most of them has features doesn't provided by this module, but they either too complex and bloated or lack some features I need.
Not transport-independent. Do eval() of perl code received from remote server.
Not transport-independent. Not event-loop-independent.
Not transport-independent. Blocking on remote function call.
In theory it's doing everything... but I failed to find out how to use it (current version is 0.05) - probably it's incomplete yet. Even now it's too complex and bloated for me, I prefer small and simple solutions.
Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/perl-JSON-RPC2/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.
Alex Efros <firstname.lastname@example.org>
This software is Copyright (c) 2009-2014 by Alex Efros <email@example.com>.
This is free software, licensed under:
The MIT (X11) License