HttpClientPostAsync(String, Byte, HTTPClientStringCallback) 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,
HTTPClientStringCallback OnTransferResponse
)
Parameters
- aUrl String
- URL as string
- aContent Byte
- Byte array of content to POST
- OnTransferResponse HTTPClientStringCallback
- HTTPClientResponseCallback
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