the dispatch map. An associative array explaining each function. The keys of the main array are the procedure names used by the clients. The value is another associative array that contains up to three elements:
The 'function' element's value is the name
of the function or method that gets called.
To define a class' method: 'class::method'.
The 'signature' element (optional) is an
array describing the return values and
parameters
The 'docstring' element (optional) is a
string describing what the method does
int
$serviceNow
—
should the HTTP response be sent now? (1 = yes, 0 = no)
int
$debug
—
should debug output be displayed? (1 = yes, 0 = no)
Generates the payload and puts it in the $server_payload property
If XML_RPC_Server::setConvertPayloadEncoding() was set to true, the payload gets passed through mb_convert_encoding() to ensure the payload matches the encoding set in the XML declaration. The encoding type can be manually set via XML_RPC_Message::setSendEncoding().