From Michael Osias (IBM)

This patch implements the llHttpRequest function via a region module,
HttpScriptsRequest.  There were bits and peices in LSLLong_cmd_handler,
which I moved into the region module, and just check for completed
requests and dispatch the http_response callback event instead.

works for me as of r2674
This commit is contained in:
Sean Dague
2007-12-12 22:14:43 +00:00
parent a0a189aed2
commit 7625438ade
7 changed files with 387 additions and 126 deletions

View File

@@ -27,11 +27,16 @@
*/
using libsecondlife;
using OpenSim.Region.Environment.Modules;
using System.Collections.Generic;
namespace OpenSim.Region.Environment.Interfaces
{
public interface IHttpRequests
{
LLUUID MakeHttpRequest(string url, string type, string body);
LLUUID MakeHttpRequest(string url, string parameters, string body);
LLUUID StartHttpRequest(uint localID, LLUUID itemID, string url, List<string> parameters, string body);
void StopHttpRequest(uint m_localID, LLUUID m_itemID);
HttpRequestClass GetNextCompletedRequest();
}
}