JRPC
view release on metacpan or search on metacpan
JRPC/Client.pm view on Meta::CPAN
# Re-bless ...
return bless($ua, $class);
}
=head2 $req = $client->new_request($url, %opts)
Factory method to instantiate and prepare a new JSON-RPC request to a URL. Options in %opts:
=over 4
=item * 'mime' - Mime content-type for request (default: 'application/json')
=item * 'debug' - Dump Request after instantiation (to STDERR).
=back
=cut
sub new_request {
my ($ua, $url, %c) = @_;
( run in 1.402 second using v1.01-cache-2.11-cpan-d7f47b0818f )