TheREST..::..PostRESTAsync Method (Uri, Action<(Of <(<'TheRequestData>)>)>, array<Byte>[]()[][], Guid, Object, Action<(Of <(<'TheRequestData>)>)>)
REST POST Call to a server address with the URI
Namespace:
nsCDEngine.CommunicationAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void PostRESTAsync( Uri pUri, Action<TheRequestData> pCallback, byte[] pPostBuffer, Guid pRequestor, Object pCookie, Action<TheRequestData> pErrorCallback )
Public Sub PostRESTAsync ( _ pUri As Uri, _ pCallback As Action(Of TheRequestData), _ pPostBuffer As Byte(), _ pRequestor As Guid, _ pCookie As Object, _ pErrorCallback As Action(Of TheRequestData) _ )
public: void PostRESTAsync( Uri^ pUri, Action<TheRequestData^>^ pCallback, array<unsigned char^>^ 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: array<Byte>[]()[][]
Post-buffer 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