Add interface, stub and bare implmentation for llHTTPResponse().
parent
88371e4f98
commit
ba99f2a1a5
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue