llRequestSecureURL
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llRequestSecureURL( );| 0.0 | Forced Delay |
| 10.0 | Energy |
Requests one HTTPS:// (SSL) url for use by this object. The http_request event is tiggered with results.
Returns a key that is the handle used for identifying the request in the http_request event.
Caveats
- When a region is (re)started all HTTP server URLs are automatically released and invalidated.
- Use CHANGED_REGION_START to detect this so new URL can be requested.
Examples
Requesting a secure URL. <lsl> key urlRequestId; string secureUrl;
request_secure_url() {
if (secureUrl != "")
{
llReleaseURL(secureUrl);
secureUrl = "";
}
urlRequestId = llRequestSecureURL();
}
default {
changed(integer change)
{
if (change & (CHANGED_REGION
See Also
Functions
| • | llRequestURL | |||
| • | llGetFreeURLs | |||
| • | llReleaseURL | |||
| • | llHTTPResponse | |||
| • | llGetHTTPHeader |
Articles
| • | LSL http server |