C-DEngine 5.105

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

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 sURL,
	int tTimeOut,
	Action<TheRequestData> LocalCallback
)
Public Shared Sub GetRESTAsync ( _
	sURL As Uri, _
	tTimeOut As Integer, _
	LocalCallback As Action(Of TheRequestData) _
)
public:
static void GetRESTAsync(
	Uri^ sURL, 
	int^ tTimeOut, 
	Action<TheRequestData^>^ LocalCallback
)

Parameters

sURL
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
LocalCallback
Type: Action<(Of <(<'TheRequestData>)>)>
Callback when the REST call is finished