Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BZ::Client::XMLRPC(3) User Contributed Perl DocumentationBZ::Client::XMLRPC(3)

NAME
	 BZ::Client::XMLRPC - Performs XML-RPC calls on	behalf of the client.

SYNOPSIS
	 my $xmlrpc = BZ::Client::XMLRPC->new("url" => $url);
	 my $result = $xmlrpc->request("methodName" => $methodName, "params" =>	$params);

       An instance of BZ::Client::XMLRPC is able to perform XML-RPC calls
       against the given URL. A	request	is performed by	passing	the method
       name and	the method parameters to the method "request". The request
       result is returned.

CLASS METHODS
       This section lists the possible class methods.

   new
	 my $xmlrpc = BZ::Client::XMLRPC->new("url" => $url);

       Creates a new instance with the given URL.

INSTANCE METHODS
       This section lists the possible instance	methods.

   url
	 my $url = $xmlrpc->url();
	 $xmlrpc->url($url);

       Returns or sets the XML-RPC servers URL.

   request
	 my $result = $xmlrpc->request("methodName" => $methodName, "params" =>	$params);

       Calls the XML-RPC servers method	$methodCall, passing the parameters
       given by	$params, an array of parameters. Parameters may	be hash	refs,
       array refs, or atomic values. Array refs	and hash refs may recursively
       contain array or	hash refs as values. An	instance of
       BZ::Client::Exception is	thrown in case of errors.

SEE ALSO
	 L<BZ::Client>,	L<BZ::Client::Exception>

perl v5.32.1			  2011-09-19		 BZ::Client::XMLRPC(3)

NAME | SYNOPSIS | CLASS METHODS | INSTANCE METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=BZ::Client::XMLRPC&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help