From 7625438adeb2211ee9c3f6532819eea2a0673c5d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 12 Dec 2007 22:14:43 +0000 Subject: 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 --- OpenSim/Region/Environment/Interfaces/IHttpRequests.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Interfaces') diff --git a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs index 0357139..c974616 100644 --- a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs +++ b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs @@ -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 parameters, string body); + void StopHttpRequest(uint m_localID, LLUUID m_itemID); + HttpRequestClass GetNextCompletedRequest(); } } \ No newline at end of file -- cgit v1.1