Click or drag to resize

HttpClientGetBytesAsync 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 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_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