HttpClientGetBytesAsync Method |
Asynchronously retrieves binary data from the provided URL using a callback.
Namespace: Crestron.SimplSharp.Net.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic HttpClientDISPATCHASYNC_ERROR GetBytesAsync(
string aUrl,
HTTPClientBytesCallback OnTransferResponse
)
Parameters
- aUrl String
- Url as string (including "http://")
- OnTransferResponse HTTPClientBytesCallback
- Callback function that will handle the returned content
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