revXMLRPC_GetHost

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

This function returns the target host 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 tHost
put revXMLRPC_GetHost(tRequest) into tHost
Values
NameTypeDescription
return

The revXMLRPC_GetHost function returns the IP address or domain name of the host that is the target of the XML-RPC document.

RelatedGlossary: return, host, XML-RPC, Standalone Application Settings, IP address, standalone application, XML-RPC document, function, domain name, LiveCode custom library
Command: revXMLRPC_SetHost
Function: revXMLRPC_CreateRequest, revXMLRPC_Execute
Library: XML-RPC library
Control Structure: function
Securitydisk, process
Description

Use the revXMLRPC_GetHost function to retrieve the host that is the target of the execution of an XML-RPC request.

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

Tagsnetworking