revXMLRPC_DeleteDocument

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_DeleteDocument <XMLRPCdocumentID>
Synonymsrevxmlrpc_free
Associationsxml-rpc library
Summary

Deletes an XML-RPC document structure, freeing up the memory of its associated resources.

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
revXMLRPC_DeleteDocument theRequest
Values
NameTypeDescription
The result

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

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

Use the revXMLRPC_DeleteDocument command to free up memory when you're finished using an XML-RPC document.

Important: The revXMLRPC_DeleteDocument 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.

Tagsnetworking