Beekeeper::JSONRPC::Request - Representation of a JSON-RPC request.
Version 0.01
my $client = Beekeeper::Client->instance; my $req = $client->do_async_job( method => 'myapp.svc.foo', params => { foo => 'bar' }, ); $client->wait_all_jobs; die unless ($req->success); print $req->result;
Objects of this class represents a JSON-RPC request (see http://www.jsonrpc.org/specification).
Method Beekeeper::Client-\do_async_job> returns objects of this class.
Beekeeper::Client-\
A string with the name of the method to be invoked.
An arbitrary data structure to be passed as parameters to the defined method.
A value of any type, which is used to match responses with requests.
José Micó, jose.mico@gmail.com
jose.mico@gmail.com
Copyright 2015 José Micó.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language itself.
This software is distributed in the hope that it will be useful, but it is provided “as is” and without any express or implied warranties. For details, see the full text of the license in the file LICENSE.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'José'. Assuming UTF-8
To install Beekeeper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Beekeeper
CPAN shell
perl -MCPAN -e shell install Beekeeper
For more information on module installation, please visit the detailed CPAN module installation guide.