xmlrpc_server
Located in /phpxmlrpc/xmlrpcs.php (line 385)
xmlrpc_server
![Constructor Constructor](../media/images/Constructor.png)
![](../media/images/Variable.png)
![](../media/images/Variable.png)
List of http compression methods accepted by the server for requests.
NB: PHP supports deflate, gzip compressions out of the box if compiled w. zlib
![](../media/images/Variable.png)
![](../media/images/Variable.png)
When set to true, it will enable HTTP compression of the response, in case the client has declared its support for compression in the request.
![](../media/images/Variable.png)
![](../media/images/Variable.png)
![](../media/images/Variable.png)
![](../media/images/Variable.png)
Defines how functions in dmap will be invokde: either using an xmlrpc msg object or plain php values.
valid strings are 'xmlrpcvals' or 'phpvals'
![](../media/images/Variable.png)
charset encoding to be used for response.
NB: if we can, we will convert the generated response from internal_encoding to the intended one. can be: a supported xml encoding (only UTF-8 and ISO-8859-1 at present, unless mbstring is enabled), null (leave unspecified in response, convert output stream to US_ASCII), 'default' (use xmlrpc library default as specified in xmlrpc.inc, convert output stream if needed), or 'auto' (use client-specified charset encoding or same as request if request headers do not specify it (unless request is US-ASCII: then use library default anyway). NB: pretty dangerous if you accept every charset and do not have mbstring enabled)
- array $dispmap: the dispatch map withd efinition of exposed services
- boolean $servicenow: set to false to prevent the server from runnung upon construction
- $dispMap
- $serviceNow
Add a method to the dispatch map
- string $methodname: the name with which the method will be made available
- string $function: the php function that will get invoked
- array $sig: the array of valid method signatures
- string $doc: method documentation
A debugging routine: just echoes back the input packet as a string value
DEPRECATED!
Execute a method invoked by the client, checking parameters used
- mixed $m: either an xmlrpcmsg obj or a method name
- array $params: array with method parameters as php types (if m is method name only)
- array $paramtypes: array with xmlrpc types of method parameters (if m is method name only)
Return a string with the serialized representation of all debug info
- string $charset_encoding: the target charset encoding for the serialization
Execute the xmlrpc request, printing the response
- string $data: the request body. If null, the http POST request will be examined
Set debug level of server.
-
integer
$in: debug lvl: determines info added to xmlrpc responses (as xml comments)
- = no debug info,
- = msgs set from user with debugmsg(),
- = add complete xmlrpc request (headers and body),
- = add also all processing warnings happened during method processing
Documentation generated on Mon, 05 Mar 2007 21:32:59 +0000 by phpDocumentor 1.3.1