JSON::RPC::Common::Procedure::Call(3pm) | User Contributed Perl Documentation | JSON::RPC::Common::Procedure::Call(3pm) |
JSON::RPC::Common::Procedure::Call - JSON RPC Procedure Call base class.
version 0.11
use JSON::RPC::Common::Procedure::Call; my $req = JSON::RPC::Common::Procedure::Call->inflate({ ... }); warn "HALLO JSONRPC VERSION " . $req->version;
A JSON-RPC Procedure Call (ed: *rolls eys*, what was wrong with "request"?) is either a notification or a method invocation in JSON-PRC.
See <http://json-rpc.org/wiki/specification> for more details.
All attributes are read only unless otherwise specified.
Used to correlate a request to a response.
These vary per subclass.
This is the recommended constructor.
Not intended for normal use on this class, you should use a subclass most of the time.
Calling "JSON::RPC::Common::Procedure::Call->new" will construct a call with an undefined version, which cannot be deflated (and thus sent over the wire). This is still useful for testing your own code's RPC hanlding, so this is not allowed.
Returns a list of positionals or a key/value list.
This method is always false for 1.0 and 2.0.
Yuval Kogman <nothingmuch@woobling.org>
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.
2020-06-23 | perl v5.30.3 |