Difference between revisions of "LlHTTPServer"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|return_type=string
|return_type=string
|func_desc=Opens an HTTP server to the prim the script is callng the function in, returning the connection URL as a string.
|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.<br /><br />Returned URI: <nowiki>http://sim###.agni:portofsimulator/uuid</nowiki><br /><nowiki>Ex: http://sim4212.agni:1337/00000000-0000-0000-0000-000000000000</nowiki>
|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
Line 16: Line 17:
|also_header
|also_header
|also_events={{LSL DefineRow||[[http_request]]}}
|also_events={{LSL DefineRow||[[http_request]]}}
|also_functions={{LSL DefineRow||[[llEscapeURL]]}}
|also_functions={{LSL DefineRow||[[llHTTPServerRemove]]|For removing llHTTPServer servers}}
{{LSL DefineRow||[[llEscapeURL]]}}
{{LSL DefineRow||[[llUnescapeURL]]}}
{{LSL DefineRow||[[llUnescapeURL]]}}
{{LSL DefineRow||[[llHTTPServeremove]]}}
{{LSL DefineRow||[[llHTTPServeremove]]}}

Revision as of 21:02, 5 November 2007

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

Summary

Function: string llHTTPServer( );
0.1 Forced Delay
10.0 Energy

Opens an HTTP server to the prim the script is callng the function in, returning the connection URL as a string.
Returns a string that is a URL identifying the HTTP server.

Returned URI: http://sim###.agni:portofsimulator/uuid
Ex: http://sim4212.agni:1337/00000000-0000-0000-0000-000000000000

Caveats

  • This function causes the script to sleep for 0.1 seconds.

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

Functions

•  llHTTPServerRemove For removing llHTTPServer servers
•  llEscapeURL
•  llUnescapeURL
•  llHTTPServeremove
•  llGetMyURL

Deep Notes

Signature

//function string llHTTPServer();