Module: sip-router Branch: master Commit: d6e8fdb3a06aab44c01ce5e5a2ca4f2d43117676 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d6e8fdb3...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Thu Jul 16 10:38:14 2009 +0200
xmlrpc(s) doc: added the autoconversion parameter
---
modules_s/xmlrpc/doc/params.xml | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/modules_s/xmlrpc/doc/params.xml b/modules_s/xmlrpc/doc/params.xml index 324495d..be7fd63 100644 --- a/modules_s/xmlrpc/doc/params.xml +++ b/modules_s/xmlrpc/doc/params.xml @@ -41,8 +41,35 @@ modparam("xmlrpc", "route", "route_for_xmlrpcs") </example> </section>
+ <section id="autoconversion"> + <title><varname>autoconversion</varname> (string)</title> + <para> + Enable or disable automatic parameter type conversion globally, + for all the methods parameters. + If on, a type mismatch in a method parameter + will not cause a fault if it is possible to automatically + convert it to the type expected by the method. + </para> + <para> + Default: off. + </para> + <para> + It is recommended to leave this parameter to its default off value + and fix instead the client application (which should use the + proper types) or to modify the target rpc to accept any type + (see the rpc scan '.' modifier). + </para> + <example> + <title>Set the <varname>autoconversion</varname> parameter</title> + <programlisting> +modparam("xmlrpc", "autoconversion", 1) + </programlisting> + </example> + </section> + <!-- - Seems to be obsolete (on always) -andrei + Obsolete (hardwired on in the rpc core functions, cannot be turned off) + -andrei <section id="enable_introspection"> <title><varname>enable_introspection</varname> (integer)</title> <para>