Difference between revisions of "LlGetHTTPServerURL"

From Second Life Wiki
Jump to navigation Jump to search
Line 34: Line 34:
|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 request at [http://jira.secondlife.com/browse/SVC-913 SVC-913]<br />Please go vote if this feature is important to you.
|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 request at [http://jira.secondlife.com/browse/SVC-913 SVC-913]<br />Please go vote if this feature is important to you.
|cat1=HTTP
}}
}}

Revision as of 06:22, 6 November 2007

Emblem-important-yellow.png 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 prim the script is calling the function in.
Returns a string that is a URL identifying the HTTP server.

Returned URI: http://sim###.agni:portofsimulator/uuid
Ex: http://sim4212.agni:1337/00000000-0000-0000-0000-000000000000

Caveats

  • This function causes the script to sleep for 0.5 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

string ServerUrl = "";

default
{
    changed(integer change)
    {
        if (change & CHANGED_REGION)
        {
            ServerURL = llGetHTTPServerURL();
        }
    }
}

Notes

Zero Linden's Office Hours Discussion On Incoming HTTP: [1]
PJIRA feature request at SVC-913
Please go vote if this feature is important to you.

See Also

Events

•  http_request

Functions

•  llHTTPServer For opening an llHTTPServer.
•  llHTTPServerRemove For removing the current HTTP server from a prim.
•  llHTTPResponse For replying to HTTP requests.
•  llEscapeURL
•  llUnescapeURL

Deep Notes

Search JIRA for related Issues

Signature

//function string llGetHTTPServerURL();