HttpClientGetAsync(String, HTTPClientStringCallback) Method |
Asynchronously retrieves an HTTP document from the provided URL using the GET HTTP command.
Namespace: Crestron.SimplSharp.Net.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic HttpClientDISPATCHASYNC_ERROR GetAsync(
string aUrl,
HTTPClientStringCallback OnTransferResponse
)
Parameters
- aUrl String
- Url as string (including "http://")
- OnTransferResponse HTTPClientStringCallback
- Callback function that will handle the returned Content String
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