Difference between revisions of "Category:LSL HTTP"

From Second Life Wiki
Jump to navigation Jump to search
m (Corrected c&p mistake)
(→‎HTTP: definition list)
Line 5: Line 5:
[[LSL]] includes functions that utilize HTTP, the HyperText Transfer Protocol, for communicating with other scripts in-world or web servers on the outside internet. HTTP requests incur no speed penalty, but there is a limit on how many requests per [[object]] can be made.
[[LSL]] includes functions that utilize HTTP, the HyperText Transfer Protocol, for communicating with other scripts in-world or web servers on the outside internet. HTTP requests incur no speed penalty, but there is a limit on how many requests per [[object]] can be made.


'''Functions'''
=== Functions ===
;[[llEscapeURL]]: Returns the UTF-8 encoded escape codes for selected characters.
;[[llHTTPRequest]]: Requests information from an HTTP server.
;[[llLoadURL]]: Loads a web page in an external browser.
;[[llUnescapeURL]]: Returns the UTF-8 characters without escape codes.
;[[llHTTPResponse]]: Responds to an HTTP request made to the script.
;[[llGetFreeURLs]]: Returns the number of URLs that the script can request for HTTP-In.
;[[llGetHTTPHeader]]: Returns the value of the requested header for a given HTTP request made to the script.
;[[llReleaseURL]]: Releases a given URL so it may not be used further.
;[[llRequestURL]]: Requests a non-secure URL to be used with HTTP-In.
;[[llRequestSecureURL]]: Same as [[llRequestURL]] but requests a secure url <nowiki>(https://)</nowiki>


[[llEscapeURL]] Returns the UTF-8 encoded escape codes for selected characters.
=== Events ===
;[[http_request]]: Called when the script receives an HTTP request.
;[[http_response]]: Called when an HTTP request is complete.


[[llHTTPRequest]] Requests information from an HTTP server.
[[llLoadURL]] Loads a web page in an external browser.
[[llUnescapeURL]] Returns the UTF-8 characters without escape codes.
[[llHTTPResponse]] Responds to an HTTP request made to the script.
[[llGetFreeURLs]] Returns the number of URLs that the script can request for HTTP-In.
[[llGetHTTPHeader]] Returns the value of the requested header for a given HTTP request made to the script.
[[llReleaseURL]] Releases a given URL so it may not be used further.
[[llRequestURL]] Requests a non-secure URL to be used with HTTP-In.
[[llRequestSecureURL]] Same as [[llRequestURL]] but requests a secure url <nowiki>(https://)</nowiki>
'''Events'''
[[http_request]] Called when the script receives an HTTP request.
[[http_response]] Called when an HTTP request is complete.
{{LSLC|}}{{LSLC|Communications}}
{{LSLC|}}{{LSLC|Communications}}

Revision as of 14:18, 19 March 2012

HTTP

LSL includes functions that utilize HTTP, the HyperText Transfer Protocol, for communicating with other scripts in-world or web servers on the outside internet. HTTP requests incur no speed penalty, but there is a limit on how many requests per object can be made.

Functions

llEscapeURL
Returns the UTF-8 encoded escape codes for selected characters.
llHTTPRequest
Requests information from an HTTP server.
llLoadURL
Loads a web page in an external browser.
llUnescapeURL
Returns the UTF-8 characters without escape codes.
llHTTPResponse
Responds to an HTTP request made to the script.
llGetFreeURLs
Returns the number of URLs that the script can request for HTTP-In.
llGetHTTPHeader
Returns the value of the requested header for a given HTTP request made to the script.
llReleaseURL
Releases a given URL so it may not be used further.
llRequestURL
Requests a non-secure URL to be used with HTTP-In.
llRequestSecureURL
Same as llRequestURL but requests a secure url (https://)

Events

http_request
Called when the script receives an HTTP request.
http_response
Called when an HTTP request is complete.

Subcategories

This category has the following 2 subcategories, out of 2 total.