OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Static Public Member Functions | List of all members
OpenSim.Framework.SynchronousRestObjectRequester Class Reference

Classes

class  XMLResponseHelper
 

Static Public Member Functions

static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj)
 Perform a synchronous REST request. More...
 
static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj, IServiceAuth auth)
 
static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj, int pTimeout)
 Perform a synchronous REST request. More...
 
static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj, int pTimeout, IServiceAuth auth)
 
static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj, int pTimeout, int maxConnections)
 
static TResponse MakeRequest< TRequest, TResponse > (string verb, string requestUrl, TRequest obj, int pTimeout, int maxConnections, IServiceAuth auth)
 Perform a synchronous REST request. More...
 

Detailed Description

Definition at line 1148 of file WebUtil.cs.

Member Function Documentation

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj 
)
inlinestatic

Perform a synchronous REST request.

Parameters
verb
requestUrl
obj
Returns
The response. If there was an internal exception, then the default(TResponse) is returned.

Definition at line 1163 of file WebUtil.cs.

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj,
IServiceAuth  auth 
)
inlinestatic

Definition at line 1168 of file WebUtil.cs.

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj,
int  pTimeout 
)
inlinestatic

Perform a synchronous REST request.

Parameters
verb
requestUrl
obj
pTimeoutRequest timeout in milliseconds. Timeout.Infinite indicates no timeout. If 0 is passed then the default HttpWebRequest timeout is used (100 seconds)
Returns
The response. If there was an internal exception or the request timed out, then the default(TResponse) is returned.

Definition at line 1185 of file WebUtil.cs.

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj,
int  pTimeout,
IServiceAuth  auth 
)
inlinestatic

Definition at line 1190 of file WebUtil.cs.

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj,
int  pTimeout,
int  maxConnections 
)
inlinestatic

Perform a synchronous REST request.

Parameters
verb
requestUrl
obj
pTimeoutRequest timeout in milliseconds. Timeout.Infinite indicates no timeout. If 0 is passed then the default HttpWebRequest timeout is used (100 seconds)
maxConnections
Returns
The response. If there was an internal exception or the request timed out, then the default(TResponse) is returned.

Definition at line 1208 of file WebUtil.cs.

static TResponse OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest< TRequest, TResponse > ( string  verb,
string  requestUrl,
TRequest  obj,
int  pTimeout,
int  maxConnections,
IServiceAuth  auth 
)
inlinestatic

Perform a synchronous REST request.

Parameters
verb
requestUrl
obj
pTimeoutRequest timeout in milliseconds. Timeout.Infinite indicates no timeout. If 0 is passed then the default HttpWebRequest timeout is used (100 seconds)
maxConnections
Returns
The response. If there was an internal exception or the request timed out, then the default(TResponse) is returned.

Definition at line 1227 of file WebUtil.cs.


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