HTTPConnection.Download

From GMod Wiki

Jump to: navigation, search
Function
Syntax HTTPConnection:Download( String URL, String headers )
Description:
Download the content from the specified URL.
Returns: Boolean
In Object: HTTPConnection
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=HTTPConnection.Download]HTTPConnection.Download [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDownloads the web page at http://www.example.com/.
Used onNewerShared.png
Code
local con = HTTPGet();
con:Download("http://www.example.com/", "");
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox