Click or drag to resize

HttpClientGetResponseAsync Method

Asynchronously creates and sends a GET HTTP request to the server using the callback. A Response is returned.

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

Parameters

aUrl  String
Url as string (including "http://")
OnTransferResponse  HTTPClientResponseCallback
HttpClientResponseCallback

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