Difference between revisions of "LlHTTPServer"

From Second Life Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
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 with event_type HTTP_SERVER_ACTIVATED in the script calling the function.
|func_desc=Opens an HTTP server to the prim the script is callng 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
|caveats=*Attachments receive a new URL on every region change. See [[llGetHTTPServerURL]]
|examples
|examples
|helpers
|helpers
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 llHTTPServer servers}}
{{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||[[llHTTPResponse]]|For replying to HTTP requests.}}
{{LSL DefineRow||[[llEscapeURL]]}}
{{LSL DefineRow||[[llEscapeURL]]}}
{{LSL DefineRow||[[llUnescapeURL]]}}
{{LSL DefineRow||[[llUnescapeURL]]}}
{{LSL DefineRow||[[llHTTPServeremove]]}}
{{LSL DefineRow||[[llGetMyURL]]}}
|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 requests:<br />[http://jira.secondlife.com/browse/SVC-913 SVC-913]<br />[http://jira.secondlife.com/browse/SVC-1086 SVC-1086]<br />Please go vote if this feature is important to you.
|cat1
}}
}}

Latest revision as of 11:18, 21 January 2008

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

Summary

Function: llHTTPServer( );
1.0 Forced Delay
10.0 Energy

Triggers the http_server event with event_type HTTP_SERVER_ACTIVATED 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

Examples

Notes

Zero Linden's Office Hours Discussion On Incoming HTTP: [1]
PJIRA feature requests:
SVC-913
SVC-1086
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

Signature

//function void llHTTPServer();