revXMLRPC_GetProtocol

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_GetProtocol(<XMLRPCdocumentID>)
Associationsxml-rpc library
Summary

This function returns the protocol of an XML-RPC document.

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, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

Example
local tProtocol
put revXMLRPC_GetProtocol(tRequest) into tProtocol
Values
NameTypeDescription
return

The revXMLRPC_GetProtocol function returns 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.

RelatedKeyword: https, http
Control Structure: function
Command: revXMLRPC_SetProtocol
Function: revXMLRPC_CreateRequest, revXMLRPC_Execute
Library: XML-RPC library
Glossary: Standalone Application Settings, host, standalone application, return, function, XML-RPC, LiveCode custom library
Securitydisk, process
Description

Use the revXMLRPC_GetProtocol function to retrieve the network protocol used in the execution of an XML-RPC request.

If the revXMLRPC_GetProtocol function encounters an error, it returns an error message starting with "xmlrpcerr" ..

Tagsnetworking