C-DEngine 5.105

TheREST..::..PostRESTAsync Method (Uri, Action<(Of <(<'TheRequestData>)>)>, String, Guid, Object, Action<(Of <(<'TheRequestData>)>)>)

REST POST Call to a server address with the URI

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

Syntax


public void PostRESTAsync(
	Uri pUri,
	Action<TheRequestData> pCallback,
	string pPostBuffer,
	Guid pRequestor,
	Object pCookie,
	Action<TheRequestData> pErrorCallback
)
Public Sub PostRESTAsync ( _
	pUri As Uri, _
	pCallback As Action(Of TheRequestData), _
	pPostBuffer As String, _
	pRequestor As Guid, _
	pCookie As Object, _
	pErrorCallback As Action(Of TheRequestData) _
)
public:
void PostRESTAsync(
	Uri^ pUri, 
	Action<TheRequestData^>^ pCallback, 
	String^ pPostBuffer, 
	Guid^ pRequestor, 
	Object^ pCookie, 
	Action<TheRequestData^>^ pErrorCallback
)

Parameters

pUri
Type: Uri
Target URI of the server
pCallback
Type: Action<(Of <(<'TheRequestData>)>)>
Callback with Response when POST returns
pPostBuffer
Type: String
Post-buffer string to be posted to the server
pRequestor
Type: Guid
Requestor ID
pCookie
Type: Object
Cookie to be handed back with the response
pErrorCallback
Type: Action<(Of <(<'TheRequestData>)>)>
Callback in case POST fails