revXMLRPC_SetProtocol

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_SetProtocol <XMLRPCdocumentID>, <connProtocol>
Associationsxml-rpc library
Summary

Sets the protocol of an XML-RPC document structure.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
XMLRPCdocumentID

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

connProtocol

The protocol determines the type of connection that is established with the host. By default, XML-RPC uses HTTP connections, but for added security you can use HTTPS connections, if the host supports it.

Values
NameTypeDescription
The result

If the revXMLRPC_SetProtocol command encounters an error, the result is set to an error message beginning with "xmlrpcerr".

RelatedGlossary: Standalone Application Settings, standalone application, command, XML-RPC, LiveCode custom library
Function: result, revXMLRPC_GetProtocol, revXMLRPC_CreateRequest
Library: XML-RPC library
Securitydisk, process
Description

Use the revXMLRPC_SetProtocol command to set the protocol that is used for the connection during the execution of an XML-RPC request.

Tagsnetworking