TheREST..::..PostRESTAsync Method (Uri, Action<(Of <(<'TheRequestData>)>)>, array<Byte>[]()[][], String, Guid, Object, Action<(Of <(<'TheRequestData>)>)>, cdeConcurrentDictionary<(Of <(<'String, String>)>)>)
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, string pContentType, Guid pRequestor, Object pCookie, Action<TheRequestData> pErrorCallback, cdeConcurrentDictionary<string, string> pCookies )
Public Sub PostRESTAsync ( _ pUri As Uri, _ pCallback As Action(Of TheRequestData), _ pPostBuffer As Byte(), _ pContentType As String, _ pRequestor As Guid, _ pCookie As Object, _ pErrorCallback As Action(Of TheRequestData), _ pCookies As cdeConcurrentDictionary(Of String, String) _ )
public: void PostRESTAsync( Uri^ pUri, Action<TheRequestData^>^ pCallback, array<unsigned char^>^ pPostBuffer, String^ pContentType, Guid^ pRequestor, Object^ pCookie, Action<TheRequestData^>^ pErrorCallback, cdeConcurrentDictionary<String^, String^>^ pCookies )
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
- pContentType
- Type: String
Content type of the POST Call
- 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
- pCookies
- Type: nsCDEngine.ViewModels..::..cdeConcurrentDictionary<(Of <(<'String, String>)>)>
Cookies to send with the POST