Click or drag to resize

HttpClientGetBytesAsyncEx Method

Asynchronously retrieves binary data from the provided URL using a callback.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public HttpClientDISPATCHASYNC_ERROR GetBytesAsyncEx(
	string aUrl,
	HTTPClientBytesCallbackEx OnTransferResponse,
	Object paramUserObject
)

Parameters

aUrl  String
Url as string (including "http://")
OnTransferResponse  HTTPClientBytesCallbackEx
Callback function that will handle the returned content
paramUserObject  Object
User specified ObjectObject

Return Value

HttpClientDISPATCHASYNC_ERROR
DISPATCHASYNC_ERROR Status for launching of the request.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also