Difference between revisions of "NETIO Lua Reference"

From wiki.netio-products.com
Jump to navigation Jump to search
(Socket Communication)
Line 22: Line 22:
 
* function [[Function devices.system.CustomCGI()|devices.system.CustomCGI()]] - send HTTP request
 
* function [[Function devices.system.CustomCGI()|devices.system.CustomCGI()]] - send HTTP request
 
* function [[Function cgiGet()|cgiGet()]] <sup><code>2.3.5</code></sup> - send HTTP request and receive response
 
* function [[Function cgiGet()|cgiGet()]] <sup><code>2.3.5</code></sup> - send HTTP request and receive response
 +
 +
== XML Processing ==
 +
<big><b>xml</b></big>
 +
* function [[Function xml.escape()|.escape()]] - escapes XML string to fit xml node contents
 +
* function [[Function xml.check()|.check()]] - tests if string is well-formed XML
 +
* function [[Function xml.parse()|.parse()]] - parses XML string into XmlElement object
  
 
== Miscellaneous ==
 
== Miscellaneous ==

Revision as of 14:57, 21 April 2017

Outlet Management

devices.system

Socket System Management

devices.system

Socket Communication

XML Processing

xml

  • function .escape() - escapes XML string to fit xml node contents
  • function .check() - tests if string is well-formed XML
  • function .parse() - parses XML string into XmlElement object

Miscellaneous

  • function log() - insert a record to the socket's event log
  • function logf() - insert a formated record (incl. numbers) to the socket's event log
  • function delay() - execute function with delay (seconds)
  • function milliDelay() - execute function with delay (milliseconds)
  • function toboolean() - converts any variable to boolean type