HTTPConnection.Download
From GMod Wiki
Function | |
Syntax | HTTPConnection:Download( String URL, String headers ) |
Description: | |
Download the content from the specified URL. | |
Returns: | Boolean |
In Object: | HTTPConnection |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=HTTPConnection.Download]HTTPConnection.Download [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Downloads the web page at http://www.example.com/. |
---|---|
Used on | |
Code | local con = HTTPGet(); con:Download("http://www.example.com/", ""); |
Output | N/A |
Additional Notes
- It's way easier to use the http library for this, since you can specify a function callback.