יובל קוג'מן (Yuval Kogman) > JSON-RPC-Common-0.08 > JSON::RPC::Common::Procedure::Call::Version_1_0

Download:
JSON-RPC-Common-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: JSON-RPC-Common-0.11

NAME ^

JSON::RPC::Common::Procedure::Call::Version_1_0 - JSON-RPC 1.0 request

SYNOPSIS ^

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

        my $req = JSON::RPC::Common::Procedure::Call->inflate({
                # 1.0 doesn't specify the version
                id     => "oink",
                params => [ 1 .. 3 ],
        });

DESCRIPTION ^

This class implements requests according to the JSON-RPC 1.0 spec: http://json-rpc.org/wiki/specification.

JSON-RPC 1.0 requests are considered notifications if the id is null.

syntax highlighting: