new HttpQuery(url)
- Description:
Low-level HTTP POST query interface with the server service.
- This is the client side of a simple client/server service mechanism.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The server URL, including the service port. |
Methods
send(query, callbackopt, timeout)
- Description:
Returns the server response, if activated.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
query |
string | The server query as a string, of the form |
||
callback |
callback |
<optional> |
function(value){}
|
The callback that handles the query return value.
|
timeout |
unit | The query timeout in millisecond, 0 means no timeout.
|