/
xcon.SendText (HTTP POST with XML string)
xcon.SendText (HTTP POST with XML string)
Description
This function can be used to send data via an established connection.
Signature
bool xcon.SendText (HTTP POST with XML string) (string, string, number, number, string, string)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | Handle that identifies the connection within the LUA script. | |
string | M | URL | |
number | M | 5 (constant) | |
number | M | 0 (constant) | |
string | M | the XML text to be sent | |
string | O | character set, e.g. utf-8 (optional) |
Return
Type | Description |
---|---|
bool | true when server is initialized, otherwise false. |