C-DEngine 5.105

TheREST..::..PostRESTAsync Method (Uri, Action<(Of <(<'TheRequestData>)>)>, String, String, 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,
	string pContentType,
	Object pCookie,
	Action<TheRequestData> pErrorCallback
)
Public Sub PostRESTAsync ( _
	pUri As Uri, _
	pCallback As Action(Of TheRequestData), _
	pPostBuffer As String, _
	pContentType As String, _
	pCookie As Object, _
	pErrorCallback As Action(Of TheRequestData) _
)
public:
void PostRESTAsync(
	Uri^ pUri, 
	Action<TheRequestData^>^ pCallback, 
	String^ pPostBuffer, 
	String^ pContentType, 
	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 to be posted to the server
pContentType
Type: String
Content type of the POST Call
pCookie
Type: Object
Cookie to be handed back with the response
pErrorCallback
Type: Action<(Of <(<'TheRequestData>)>)>
Callback in case POST fails