Difference between revisions of "Lua:getInternet"
Jump to navigation
Jump to search
(Created page with 'Category:Lua '''function''' getInternet(''string'') Returns an internet class object. The string provided will be the name of the client provided Examples: int = getInte…') |
|||
Line 5: | Line 5: | ||
Examples: | Examples: | ||
+ | <syntaxhighlight lang="Lua"> | ||
int = getInternet("ce") | int = getInternet("ce") | ||
result = int.getURL("http://www.google.com") | result = int.getURL("http://www.google.com") | ||
print(result) | print(result) | ||
+ | </syntaxhighlight> | ||
===Function Parameters=== | ===Function Parameters=== |
Latest revision as of 10:49, 18 November 2019
function getInternet(string)
Returns an internet class object. The string provided will be the name of the client provided
Examples:
int = getInternet("ce")
result = int.getURL("http://www.google.com")
print(result)
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
string | string | name of the client |