|
1 | 1 | = XML-RPC for PHP
|
2 |
| -:revision: 4.0.0 |
| 2 | +:revision: 4.9.2 |
3 | 3 | :keywords: xmlrpc, xml, rpc, webservices, http
|
4 | 4 | :toc: left
|
5 | 5 | :imagesdir: images
|
@@ -158,9 +158,9 @@ dateTime.iso8601 is supported opaquely. It can't be done natively as the XML-RPC
|
158 | 158 | passing of timezone specifiers in ISO8601 format dates. You can, however, use the PhpXmlRpc\Helper\Date class to do
|
159 | 159 | the encoding and decoding for you.
|
160 | 160 |
|
161 |
| -Very little HTTP response checking is performed (e.g. HTTP redirects are not followed and the Content-Length HTTP |
162 |
| - header, mandated by the xml-rpc spec, is not validated); cookie support still involves quite a bit of coding on the |
163 |
| - part of the user. |
| 161 | +Very little HTTP response checking is performed (e.g. HTTP redirects are not followed by default and the Content-Length |
| 162 | + HTTP header, mandated by the xml-rpc spec, is not validated); cookie support still involves quite a bit of coding on |
| 163 | + the part of the user. |
164 | 164 |
|
165 | 165 |
|
166 | 166 | [[support]]
|
@@ -202,15 +202,11 @@ If you've benefited from the effort that has been put into writing this software
|
202 | 202 |
|
203 | 203 | ===== int
|
204 | 204 |
|
205 |
| -The type i4 is accepted as a synonym |
206 |
| - for int when creating xmlrpcval objects. The |
207 |
| - xml parsing code will always convert i4 to |
208 |
| - int: int is regarded |
209 |
| - by this implementation as the canonical name for this type. |
| 205 | +The type i4 is accepted as a synonym for int when creating xmlrpcval objects. The xml parsing code will always convert i4 |
| 206 | + to int: int is regarded by this implementation as the canonical name for this type. |
210 | 207 |
|
211 |
| -The type i8 on the other hand is considered as a separate type. |
212 |
| - Note that the library will never output integers as 'i8' on its own, |
213 |
| - even when php is compiled in 64-bit mode. |
| 208 | +The type i8 on the other hand is considered as a separate type. Note that the library will never output integers as 'i8' |
| 209 | + on its own, even when php is compiled in 64-bit mode. |
214 | 210 |
|
215 | 211 | ===== base64
|
216 | 212 |
|
@@ -249,9 +245,7 @@ There is no support for encoding ++null++
|
249 | 245 | [[xmlrpcval-creation]]
|
250 | 246 | ==== Xmlrpcval creation
|
251 | 247 |
|
252 |
| -The constructor is the normal way to create an |
253 |
| - xmlrpcval. The constructor can take these |
254 |
| - forms: |
| 248 | +The constructor is the normal way to create an xmlrpcval. The constructor can take these forms: |
255 | 249 |
|
256 | 250 | xmlrpcvalnew
|
257 | 251 | xmlrpcval xmlrpcvalnew
|
@@ -1783,36 +1777,26 @@ In the meantime, see docs about xmlrpc_client::return_type and
|
1783 | 1777 | [appendix]
|
1784 | 1778 | == Usage of the debugger
|
1785 | 1779 |
|
1786 |
| -A webservice debugger is included in the library to help during |
1787 |
| - development and testing. |
| 1780 | +A webservice debugger is included in the library to help during development and testing. |
1788 | 1781 |
|
1789 |
| -The interface should be self-explicative enough to need little |
1790 |
| - documentation. |
| 1782 | +The interface should be self-explicative enough to need little documentation. |
1791 | 1783 |
|
1792 | 1784 | image::debugger.gif[,,,,align="center"]
|
1793 | 1785 |
|
1794 |
| -The most useful feature of the debugger is without doubt the "Show |
1795 |
| - debug info" option. It allows to have a screen dump of the complete http |
1796 |
| - communication between client and server, including the http headers as |
1797 |
| - well as the request and response payloads, and is invaluable when |
1798 |
| - troubleshooting problems with charset encoding, authentication or http |
| 1786 | +The most useful feature of the debugger is without doubt the "Show debug info" option. It allows to have a screen dump |
| 1787 | + of the complete http communication between client and server, including the http headers as well as the request and |
| 1788 | + response payloads, and is invaluable when troubleshooting problems with charset encoding, authentication or http |
1799 | 1789 | compression.
|
1800 | 1790 |
|
1801 |
| -The debugger can take advantage of the JSONRPC library extension, to |
1802 |
| - allow debugging of JSON-RPC webservices, and of the JS-XMLRPC library |
1803 |
| - visual editor to allow easy mouse-driven construction of the payload for |
1804 |
| - remote methods. Both components have to be downloaded separately from the |
1805 |
| - sourceforge.net web pages and copied to the debugger directory to enable |
1806 |
| - the extra functionality: |
| 1791 | +The debugger can take advantage of the JSONRPC library extension, to allow debugging of JSON-RPC webservices, and of the |
| 1792 | + JSXMLRPC library visual editor to allow easy mouse-driven construction of the payload for remote methods. Both |
| 1793 | + components have to be downloaded separately and copied to the debugger directory to enable the extra functionality: |
1807 | 1794 |
|
1808 | 1795 |
|
1809 |
| -* to enable jsonrpc functionality, download the PHP-XMLRPC |
1810 |
| - EXTRAS package, and copy the file __jsonrpc.inc__ |
1811 |
| - either to the same directory as the debugger or somewhere in your |
1812 |
| - php include path |
| 1796 | +* to enable jsonrpc functionality, download the PHP-XMLRPC EXTRAS package, and copy the file __jsonrpc.inc__ |
| 1797 | + either to the same directory as the debugger or somewhere in your php include path |
1813 | 1798 |
|
1814 |
| -* to enable the visual value editing dialog, download the |
1815 |
| - JS-XMLRPC library, and copy somewhere in the web root files |
| 1799 | +* to enable the visual value editing dialog, download the JS-XMLRPC library, and copy somewhere in the web root files |
1816 | 1800 | __visualeditor.php__,
|
1817 | 1801 | __visualeditor.css__ and the folders
|
1818 | 1802 | __yui__ and __img__. Then edit the
|
@@ -2167,7 +2151,7 @@ Supported encodings are US-ASCII, UTF-8 and ISO-8859-1.
|
2167 | 2151 | * Allow a server to NOT respond to system.* method calls (setting the `$server->allow_system_funcs` property).
|
2168 | 2152 |
|
2169 | 2153 | * Implement a new xmlrpcval method to determine if a value of type struct has a member of a given name without having to
|
2170 |
| - loop trough all members: `xmlrpcval::structMemExists()` |
| 2154 | + loop through all members: `xmlrpcval::structMemExists()` |
2171 | 2155 |
|
2172 | 2156 | * Expand methods `xmlrpcval::addArray`, `addScalar` and `addStruct` allowing extra php values to be added to
|
2173 | 2157 | xmlrpcval objects already formed.
|
|
0 commit comments