Difference between revisions of "LlHTTPServer"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:


|func=llHTTPServer
|func=llHTTPServer
|func_sleep=0.1
|func_sleep=1.0
|func_energy=10.0
|func_energy=10.0
|sort=HTTPServer
|sort=HTTPServer
|return_type=string
|func_desc=Triggers the http_server event in the script calling the function.
|func_desc=Opens an HTTP server to the prim the script is calling the function in, returning the connection URL as a string.
|return_text= that is a URL identifying the HTTP server.
|func_footer=Returned URI: <nowiki>http://sim###.agni:portofsimulator/uuid</nowiki><br /><nowiki>Ex: http://sim4212.agni:1337/00000000-0000-0000-0000-000000000000</nowiki>
|spec
|spec
|caveats=*Attachments receive a new URL on every region change. See [[llGetHTTPServerURL]]
|caveats=*Attachments receive a new URL on every region change. See [[llGetHTTPServerURL]]
Line 17: Line 14:
|also_header
|also_header
|also_events={{LSL DefineRow||[[http_request]]}}
|also_events={{LSL DefineRow||[[http_request]]}}
|also_functions={{LSL DefineRow||[[llHTTPServerRemove]]|For removing the current HTTP server from a prim.}}
{{LSL DefineRow||[[http_server]]}}
|also_functions={{LSL DefineRow||[[llHTTPServerRemove]]|For removing the current HTTP server from a script.}}
{{LSL DefineRow||[[llGetHTTPServerURL]]|For retrieving the current HTTP server URL.}}
{{LSL DefineRow||[[llGetHTTPServerURL]]|For retrieving the current HTTP server URL.}}
{{LSL DefineRow||[[llHTTPResponse]]|For replying to HTTP requests.}}
{{LSL DefineRow||[[llHTTPResponse]]|For replying to HTTP requests.}}

Revision as of 18:49, 6 November 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llHTTPServer( );
REQUEST Function ID
1.0 Forced Delay
10.0 Energy

Triggers the http_server event in the script calling the function.

Caveats

  • This function causes the script to sleep for 1.0 seconds.
  • Attachments receive a new URL on every region change. See llGetHTTPServerURL
All Issues ~ Search JIRA for related Bugs

Examples

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
•  http_server

Functions

•  llHTTPServerRemove For removing the current HTTP server from a script.
•  llGetHTTPServerURL For retrieving the current HTTP server URL.
•  llHTTPResponse For replying to HTTP requests.
•  llEscapeURL
•  llUnescapeURL

Deep Notes

Search JIRA for related Issues

Signature

//function void llHTTPServer();