Send HTTP requests, handle inbound requests, and encode URLs.
Feature: Communications
What do you want to do?
key llHTTPRequest(string url, list parameters, string body)Sends an HTTP request to the specified url containing body and configured via parameters. Raises an http_response event and returns a key query handle identifying the request.key llRequestSecureURL()Asynchronously requests one secure HTTPS (SSL, port 12043) URL for use by this object, triggering an http_request event. Returns a key query handle.llHTTPResponse(key request_id, integer status, string body)Responds to the incoming HTTP request identified by request_id with the HTTP status code status and the payload body.string llEscapeURL(string url)Returns a string representing the escaped/encoded version of url, replacing spaces with '%20' and non-alphanumeric characters with their '%xx' hexadecimal UTF-8 equivalent.Reference
15 topic entries
string llEscapeURL(string url)functionReturns a string representing the escaped/encoded version of url, replacing spaces with '%20' and non-alphanumeric characters with their '%xx' hexadecimal UTF-8 equivalent.
integer llGetFreeURLs()functionReturns an integer representing the number of available HTTP URLs (remaining for the owner if the object is attached, or for the region if unattached).
string llGetHTTPHeader(key request_id, string header)functionReturns a string representing the value of the specified header associated with the HTTP request_id.
key llHTTPRequest(string url, list parameters, string body)functionSends an HTTP request to the specified url containing body and configured via parameters. Raises an
http_responseevent and returns a key query handle identifying the request.llHTTPResponse(key request_id, integer status, string body)functionResponds to the incoming HTTP request identified by request_id with the HTTP status code status and the payload body.
llLoadURL(key avatar, string message, string url)functionShows a dialog box displaying message to the avatar avatar offering to open the specified url. Clicking yes launches the URL in their default web browser.
llReleaseURL(string url)functionReleases the specified url (previously obtained via
llRequestURL), rendering it no longer usable.key llRequestSecureURL()functionAsynchronously requests one secure HTTPS (SSL, port 12043) URL for use by this object, triggering an
http_requestevent. Returns a key query handle.key llRequestURL()functionAsynchronously requests one HTTP URL for use by this script, triggering an
http_requestevent. Returns a key query handle.llSetContentType(key request_id, integer content_type)functionSets the 'Content-Type' header of subsequent HTTP server responses (via
llHTTPResponse) for request_id using the specified content_type (a CONTENT_TYPE_* constant).integer llSetLinkMedia(integer link, integer face, list params)functionSets the media parameters specified by params on face of the linked prim link without a script delay. Returns an integer STATUS_* flag detailing success or failure.
integer llSetPrimMediaParams(integer face, list params)functionSets the media parameters specified by params on the designated face of the prim. Returns an integer STATUS_* flag detailing success or failure.
string llUnescapeURL(string url)functionReturns a string representing the unescaped/decoded version of url, replacing '%20' with spaces and decoding raw UTF-8 characters.
http_response(key request_id, integer status, list metadata, string body)eventTriggered when an HTTP response body is received for a pending request_id, or if the request fails or times out.
http_request(key request_id, string method, string body)eventTriggered when the script's registered URL receives an incoming HTTP request identified by request_id.
No matching entries. Try a different term or filter.