Sets the protocol of an XML-RPC document structure.Syntax:
revXMLRPC_SetProtocol <XML-RPC document>, <protocol>
Use the revXMLRPC_SetProtocol command to set the protocol that is used for the connection during the execution of an XML-RPC request.
The revXMLRPC_SetProtocol command is part of the
XML-RPC library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML-RPC" library checkbox is checked.
Parameters:
- protocol: The protocol determines the type of connection that is established withthe host. By default, XML-RPC uses HTTP connections, but for addedsecurity you can use HTTPS connections, if the host supports it.
- documentID: The number returned by the revXMLRPC_CreateRequest when you created theXML-RPC request.
- The result: If the revXMLRPC_SetProtocol command encounters an error, theresult is set to an error message beginning with "xmlrpcerr".
See also: revXMLRPC_CreateRequest (function),XML-RPC library (library),