HttpClientPostAsync(String, Byte, HTTPClientStringCallbackEx, Object) Method |
Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command.
Namespace: Crestron.SimplSharp.Net.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic HttpClientDISPATCHASYNC_ERROR PostAsync(
string aUrl,
byte[] aContent,
HTTPClientStringCallbackEx OnTransferResponse,
Object paramUserObject
)
Parameters
- aUrl String
- URL as string
- aContent Byte
- Byte array of content to POST
- OnTransferResponse HTTPClientStringCallbackEx
- HTTPClientResponseCallback
- paramUserObject Object
- User specified object
Return Value
HttpClientDISPATCHASYNC_ERRORDISPATCHASYNC_ERROR Status for launching of the request
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also