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