Difference between revisions of "LlHTTPResponse"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 29: Line 29:
*{{SVN|1836|rev=112899 |trunk=*|anchor=file22|ver=|ser=}}
*{{SVN|1836|rev=112899 |trunk=*|anchor=file22|ver=|ser=}}
|cat1=HTTP
|cat1=HTTP
|cat2
|cat2=HTTP/Server
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 15:03, 18 April 2009

Summary

Function: llHTTPResponse( key request_id, integer status, string body );
0.0 Forced Delay
10.0 Energy

Responds to request_id with status and body.

• key request_id A valid HTTP request key.
• integer status HTTP Status (200, 400, 404, etc)
• string body Contents of the response.

The response need not been inside the http_request event but if it does not happen in a timely fashion the request will time out.

Examples

See Also

Events

•  http_request

Functions

•  llGetFreeURLs
•  llRequestURL
•  llRequestSecureURL
•  llReleaseURL
•  llGetHTTPHeader

Articles

•  LSL http server

Deep Notes

History

Signature

function void llHTTPResponse( key request_id, integer status, string body );