logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

JSON::RPC::Common::Procedure::Call::Version_2_0 - JSON-RPC 2.0 Procedure Call

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This class implements JSON-RPC Procedure Call objects according to the 2.0 specification proposal:
       <http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal>.

       JSON RPC 2.0 reinstate notifications, and allow the same format for parameters.

       Requests are considered notifications only when the "id" field is missing, not when it's null.

Name

       JSON::RPC::Common::Procedure::Call::Version_2_0 - JSON-RPC 2.0 Procedure Call

Synopsis

               use JSON::RPC::Common::Procedure::Call;

               my $req = JSON::RPC::Common::Procedure::Call->inflate({
                       jsonrpc => "2.0",
                       id      => "oink",
                       params  => { foo => "bar" },
               });

Version

       version 0.11

See Also