revXMLRPC_GetMethod

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_GetMethod(<XMLRPCdocumentID>)
Associationsxml-rpc library
Summary

Returns the name of the method in 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.

Example
put revXMLRPC_GetMethod(theRequest) into theMethodName
Values
NameTypeDescription
The result

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

RelatedCommand: revXMLRPC_SetMethod
Function: revXMLRPC_GetPath, revXMLRPC_CreateRequest
Glossary: Standalone Application Settings, standalone application, return, function, XML-RPC document, LiveCode custom library, XML-RPC
Library: XML-RPC library
Securitydisk, process
Description

Use the revXMLRPC_GetMethod function to retrieve the method name to be called upon execution of an existing XML-RPC document.

Where the path of the XML-RPC document tells the server which resource will handle the request, the method name tells that resource which method is being called specifically within that resource.