|
UUID | MakeHttpRequest (string url, string parameters, string body) |
|
UUID | StartHttpRequest (uint localID, UUID itemID, string url, List< string > parameters, Dictionary< string, string > headers, string body, out HttpInitialRequestStatus status) |
| Starts the http request. More...
|
|
void | StopHttpRequest (uint m_localID, UUID m_itemID) |
| Stop and remove all http requests for the given script. More...
|
|
IServiceRequest | GetNextCompletedRequest () |
|
void | RemoveCompletedRequest (UUID id) |
|
Definition at line 58 of file IHttpRequests.cs.
IServiceRequest OpenSim.Region.Framework.Interfaces.IHttpRequestModule.GetNextCompletedRequest |
( |
| ) |
|
UUID OpenSim.Region.Framework.Interfaces.IHttpRequestModule.MakeHttpRequest |
( |
string |
url, |
|
|
string |
parameters, |
|
|
string |
body |
|
) |
| |
void OpenSim.Region.Framework.Interfaces.IHttpRequestModule.RemoveCompletedRequest |
( |
UUID |
id | ) |
|
UUID OpenSim.Region.Framework.Interfaces.IHttpRequestModule.StartHttpRequest |
( |
uint |
localID, |
|
|
UUID |
itemID, |
|
|
string |
url, |
|
|
List< string > |
parameters, |
|
|
Dictionary< string, string > |
headers, |
|
|
string |
body, |
|
|
out HttpInitialRequestStatus |
status |
|
) |
| |
Starts the http request.
This is carried out asynchronously unless it fails initial checks. Results are fetched by the script engine HTTP requests module to be distributed back to scripts via a script event.
- Returns
- The ID of the request. If the requested could not be performed then this is UUID.Zero
- Parameters
-
localID | Local ID of the object containing the script making the request. |
itemID | Item ID of the script making the request. |
url | Url to request. |
parameters | LSL parameters for the request. |
headers | Extra headers for the request. |
body | Body of the request. |
status | Initial status of the request. If OK then the request is actually made to the URL. Subsequent status is then returned via IServiceRequest when the response is asynchronously fetched. |
Implemented in OpenSim.Region.CoreModules.Scripting.HttpRequest.HttpRequestModule.
void OpenSim.Region.Framework.Interfaces.IHttpRequestModule.StopHttpRequest |
( |
uint |
m_localID, |
|
|
UUID |
m_itemID |
|
) |
| |
The documentation for this interface was generated from the following file: