C-DEngine 5.105

TheREST..::..GetRESTAsync Method (Uri, Int32, Action<(Of <(<'TheRequestData>)>)>, Object)

Issues a REST GET call to a given URI

Namespace:  nsCDEngine.Communication
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static void GetRESTAsync(
	Uri pUri,
	int tTimeOut,
	Action<TheRequestData> tCallback,
	Object pCookie
)
Public Shared Sub GetRESTAsync ( _
	pUri As Uri, _
	tTimeOut As Integer, _
	tCallback As Action(Of TheRequestData), _
	pCookie As Object _
)
public:
static void GetRESTAsync(
	Uri^ pUri, 
	int^ tTimeOut, 
	Action<TheRequestData^>^ tCallback, 
	Object^ pCookie
)

Parameters

pUri
Type: Uri
Target URI for the REST call
tTimeOut
Type: Int32
Timeout of the call.If no return was received by this time (in seconds) the call will fail
tCallback
Type: Action<(Of <(<'TheRequestData>)>)>
Callback when the REST call is finished
pCookie
Type: Object
Cookie to be handed back with the callback