GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JSON::RPC::COMMON::PROCEDURE::CALL::VERSION_1_1 (3)

.ds Aq ’

NAME

JSON::RPC::Common::Procedure::Call::Version_1_1 - JSON-RPC 1.1 Procedure Call

CONTENTS

VERSION

version 0.11

SYNOPSIS



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

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



DESCRIPTION

This class implements JSON-RPC 1.1 Procedure Calls according to the 1.1 working draft: <http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html>.

JSON RPC 1.1 requests are never notifications, and accept either hash references or array references as parameters.

Note that the alternative JSON RPC 1.1 proposition is also be supported: <http://groups.google.com/group/json-rpc/web/json-rpc-1-1-alt>. kwparams is accepted as an alias to params, but params will also accept hash references. However, to simplify things, params and kwparams are mutually exclusive, since Perl doesn’t have strong support for named params.

The alternative spec does not offer notifications (it is a TODO item), so currently is_notification always returns false.

AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman and others.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JSON::RPC::COMMON::PROCEDURE::CALL::VERSION_1_1 (3) 2014-02-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.