OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Region.Framework.Interfaces.IHttpRequestModule Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.IHttpRequestModule:
Inheritance graph
[legend]

Public Member Functions

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)
 

Detailed Description

Definition at line 58 of file IHttpRequests.cs.

Member Function Documentation

IServiceRequest OpenSim.Region.Framework.Interfaces.IHttpRequestModule.GetNextCompletedRequest ( )

Implemented in OpenSim.Region.CoreModules.Scripting.HttpRequest.HttpRequestModule.

Here is the caller graph for this function:

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
localIDLocal ID of the object containing the script making the request.
itemIDItem ID of the script making the request.
urlUrl to request.
parametersLSL parameters for the request.
headersExtra headers for the request.
bodyBody of the request.
statusInitial 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 
)

Stop and remove all http requests for the given script.

Parameters
id

Implemented in OpenSim.Region.CoreModules.Scripting.HttpRequest.HttpRequestModule.


The documentation for this interface was generated from the following file: