1JSON::RPC::Common::ProcUesdeurreC:oJ:nSCtOarNli:lb::uR:tPVeCed:r:sPCieoormnlm_o1Dn_o:1c:(uP3mr)eoncteadtuiroen::Call::Version_1_1(3)
2
3
4

NAME

6       JSON::RPC::Common::Procedure::Call::Version_1_1 - JSON-RPC 1.1
7       Procedure Call
8

VERSION

10       version 0.11
11

SYNOPSIS

13               use JSON::RPC::Common::Procedure::Call;
14
15               my $req = JSON::RPC::Common::Procedure::Call->inflate({
16                       version => "1.1",
17                       id      => "oink",
18                       params  => { foo => "bar" },
19               });
20

DESCRIPTION

22       This class implements JSON-RPC 1.1 Procedure Calls according to the 1.1
23       working draft: <http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html>.
24
25       JSON RPC 1.1 requests are never notifications, and accept either hash
26       references or array references as parameters.
27
28       Note that the alternative JSON RPC 1.1 proposition is also be
29       supported:
30       <http://groups.google.com/group/json-rpc/web/json-rpc-1-1-alt>.
31       "kwparams" is accepted as an alias to "params", but "params" will also
32       accept hash references. However, to simplify things, "params" and
33       "kwparams" are mutually exclusive, since Perl doesn't have strong
34       support for named params.
35
36       The alternative spec does not offer notifications (it is a TODO item),
37       so currently "is_notification" always returns false.
38

AUTHOR

40       Yuval Kogman <nothingmuch@woobling.org>
41
43       This software is copyright (c) 2014 by Yuval Kogman and others.
44
45       This is free software; you can redistribute it and/or modify it under
46       the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.34.0                JSON::2R0P2C1:-:0C7o-m2m2on::Procedure::Call::Version_1_1(3)
Impressum