Add interface, stub and bare implmentation for llHTTPResponse().

0.6.5-rc1
Charles Krinke 2009-05-13 00:29:50 +00:00
parent 88371e4f98
commit ba99f2a1a5
3 changed files with 16 additions and 0 deletions

View File

@ -8878,6 +8878,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return null;
}
public void llHTTPResponse(string url, int status, string body)
{
// Partial implementation: support for parameter flags needed
// see http://wiki.secondlife.com/wiki/llHTTPResponse
m_host.AddScriptLPS(1);
NotImplemented("llHTTPResponse");
}
public void llResetLandBanList()
{
m_host.AddScriptLPS(1);

View File

@ -199,6 +199,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
void llGroundRepel(double height, int water, double tau);
LSL_Vector llGroundSlope(LSL_Vector offset);
LSL_String llHTTPRequest(string url, LSL_List parameters, string body);
void llHTTPResponse(string url, int status, string body);
LSL_String llInsertString(string dst, int position, string src);
void llInstantMessage(string user, string message);
LSL_String llIntegerToBase64(int number);

View File

@ -854,6 +854,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_LSL_Functions.llHTTPRequest(url, parameters, body);
}
public void llHTTPResponse(string url, int status, string body)
{
m_LSL_Functions.llHTTPResponse(url, status, body);
}
public LSL_String llInsertString(string dst, int position, string src)
{
return m_LSL_Functions.llInsertString(dst, position, src);