GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PROTOCOL::XMLRPC::METHODCALL (3)

.ds Aq ’

NAME

Protocol::XMLRPC::MethodCall - XML-RPC methodCall request

CONTENTS

SYNOPSIS



    my $method_call = Protocol::XMLRPC::MethodCall->new(name => foo.bar);
    $method_call->add_param(1);

    $method_call = Protocol::XMLRPC::MethodCall->parse(...);



DESCRIPTION

XML-RPC methodCall request object.

ATTRIBUTES

CWparams

Holds method call name.

CWparams

Holds array reference of all passed params as objects.

METHODS

CWnew

Creates a new Protocol::XMLRPC::MethodCall instance. Name is required.

CWparse



    my $method_call = Protocol::XMLRPC::MethodCall->parse(<?xml ...);



Creates a new Protocol::XMLRPC::MethodCall from xml.

CWadd_param



    $method_call->add_param(1);
    $method_call->add_param(Protocol::XMLRPC::Value::String->new(foo));



Adds param. Tries to guess a type if a Perl5 scalar/arrayref/hashref was passed instead of an object.

CWto_string



    my $method_call = Protocol::XMLRPC::MethodCall->new(name => foo.bar);
    $method_call->add_param(baz);
    # <?xml version="1.0"?>
    # <methodCall>
    #    <methodName>foo.bar</methodName>
    #    <params>
    #       <param>
    #          <value><string>baz</string></value>
    #       </param>
    #    </params>
    # </methodCall>



Protocol::XMLRPC::MethodCall string representation.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PROTOCOL::XMLRPC::METHODCALL (3) 2011-09-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.