mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user