network
The network object provides a way to test for Internet connectivity and interact with external Internet resources such as files, raw data, or images.
Properties
Below is a list of properties supported by this object.
| Name | Description | Desktop | Web | Avatars |
|---|---|---|---|---|
| online | Returns whether or not a live Internet connection is available | Yes | Yes | Yes |
Functions
Below is a list of functions supported by this object.
| Name | Description | Desktop | Web | Avatars |
|---|---|---|---|---|
| download | Downloads a specified Internet resource | Yes | Yes | Yes |
| http.post | Performs an HTTP POST to a specified network resource URI and returns the response | Yes | Yes | Yes |
| http.get | Performs an HTTP GET to a specified network resource URI and returns the response | Yes | Yes | Yes |
| http.put | Performs an HTTP PUT to a specified network resource URI and returns the response | Yes | Yes | Yes |
| http.delete | Performs an HTTP DELETE to a specified network resource URI and returns the response | Yes | Yes | Yes |
Remarks
The network object is useful if you need to interact with external Internet resources such as files, raw data, or images.
