Difference between revisions of "LlGetHTTPServerURL"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
{{LSL DefineRow||[[llUnescapeURL]]}} | {{LSL DefineRow||[[llUnescapeURL]]}} | ||
|also_footer | |also_footer | ||
|notes=Zero Linden's Office Hours Discussion On Incoming HTTP: [https://wiki.secondlife.com/wiki/User:Zero_Linden/Office_Hours/Discussion#Incoming_HTTP]<br />PJIRA feature | |notes=Zero Linden's Office Hours Discussion On Incoming HTTP: [https://wiki.secondlife.com/wiki/User:Zero_Linden/Office_Hours/Discussion#Incoming_HTTP]<br />PJIRA feature requests:<br />[http://jira.secondlife.com/browse/SVC-913 SVC-913]<br />[http://jira.secondlife.com/browse/SVC-1086 SVC-1086]<br />Please go vote if this feature is important to you. | ||
|cat1 | |cat1 | ||
}} | }} |
Revision as of 12:19, 21 January 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
LSL Feature Request | |
The described function does not exist. This article is a feature request. |
Summary
Function: string llGetHTTPServerURL( );REQUEST | Function ID |
0.5 | Forced Delay |
10.0 | Energy |
Returns the current HTTP server URL for the script calling the function.
Returns a string that is a URL identifying the HTTP server if active, empty string otherwise.
Returned URI: http://sim###.agni:portofsimulator/uuid
Ex: http://sim4212.agni:1337/00000000-0000-0000-0000-000000000000
Caveats
Examples
default { touch_start(integer t) // Touch Indicator { string ServerURL = llGetHTTPServerURL(); if (ServerURL != "") { llOwnerSay("HTTP Server URL:" + ServerURL); } else { llOwnerSay("HTTP Server Is Not Active!"); } } }
Notes
See Also
Events
• | http_request |
Functions
• | llHTTPServer | – | For opening an llHTTPServer. | |
• | llHTTPServerRemove | – | For removing the current HTTP server from the script. | |
• | llHTTPResponse | – | For replying to HTTP requests. | |
• | llEscapeURL | |||
• | llUnescapeURL |