aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs
diff options
context:
space:
mode:
authorSean Dague2007-12-12 22:14:43 +0000
committerSean Dague2007-12-12 22:14:43 +0000
commit7625438adeb2211ee9c3f6532819eea2a0673c5d (patch)
tree6ce5553fa4c9fb60cf1024f2db639b9a386153da /OpenSim/Region/Environment/Interfaces/IHttpRequests.cs
parentThanks to Alondria for: (diff)
downloadopensim-SC-7625438adeb2211ee9c3f6532819eea2a0673c5d.zip
opensim-SC-7625438adeb2211ee9c3f6532819eea2a0673c5d.tar.gz
opensim-SC-7625438adeb2211ee9c3f6532819eea2a0673c5d.tar.bz2
opensim-SC-7625438adeb2211ee9c3f6532819eea2a0673c5d.tar.xz
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
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Interfaces/IHttpRequests.cs7
1 files changed, 6 insertions, 1 deletions
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 @@
27*/ 27*/
28 28
29using libsecondlife; 29using libsecondlife;
30using OpenSim.Region.Environment.Modules;
31using System.Collections.Generic;
30 32
31namespace OpenSim.Region.Environment.Interfaces 33namespace OpenSim.Region.Environment.Interfaces
32{ 34{
33 public interface IHttpRequests 35 public interface IHttpRequests
34 { 36 {
35 LLUUID MakeHttpRequest(string url, string type, string body); 37 LLUUID MakeHttpRequest(string url, string parameters, string body);
38 LLUUID StartHttpRequest(uint localID, LLUUID itemID, string url, List<string> parameters, string body);
39 void StopHttpRequest(uint m_localID, LLUUID m_itemID);
40 HttpRequestClass GetNextCompletedRequest();
36 } 41 }
37} \ No newline at end of file 42} \ No newline at end of file