1BZ::Client::XMLRPC(3) User Contributed Perl DocumentationBZ::Client::XMLRPC(3)
2
3
4
6 BZ::Client::XMLRPC - Performs XML-RPC calls on behalf of the client.
7
9 version 4.4002
10
12 my $xmlrpc = BZ::Client::XMLRPC->new( url => $url );
13 my $result = $xmlrpc->request( methodName => $methodName, params => $params );
14
15 An instance of BZ::Client::XMLRPC is able to perform XML-RPC calls
16 against the given URL. A request is performed by passing the method
17 name and the method parameters to the method "request". The request
18 result is returned.
19
21 This section lists the possible class methods.
22
23 new
24 my $xmlrpc = BZ::Client::XMLRPC->new( url => $url );
25
26 Creates a new instance with the given URL.
27
29 This section lists the possible instance methods.
30
31 url
32 my $url = $xmlrpc->url();
33 $xmlrpc->url( $url );
34
35 Returns or sets the XML-RPC servers URL.
36
37 request
38 my $result = $xmlrpc->request( methodName => $methodName, params => $params );
39
40 Calls the XML-RPC servers method $methodCall, passing the parameters
41 given by $params, an array of parameters. Parameters may be hash refs,
42 array refs, or atomic values. Array refs and hash refs may recursively
43 contain array or hash refs as values. An instance of
44 BZ::Client::Exception is thrown in case of errors.
45
47 BZ::Client, BZ::Client::Exception
48
50 · Dean Hamstead <dean@bytefoundry.com.au>
51
52 · Jochen Wiedmann <jochen.wiedmann@gmail.com>
53
55 This software is copyright (c) 2017 by Dean Hamstad.
56
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59
60
61
62perl v5.30.1 2020-01-29 BZ::Client::XMLRPC(3)