Click or drag to resize

HttpClientGetAsyncEx(String, Encoding, HTTPClientStringCallbackEx, Object) Method

Asynchronously retrieves an HTTP document using a callback in the specified encoding from the provided URL using the GET HTTP command.

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

Parameters

aUrl  String
Url as string (including "http://")
aEncoding  Encoding
An Encoding value.
OnTransferResponse  HTTPClientStringCallbackEx
Callback function that will handle the returned Content String
paramUserObject  Object
User specified object

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