Click or drag to resize

HttpClientPostAsync(String, Byte, HTTPClientStringCallbackEx, Object) Method

Asynchronously retrieves an HTTP document (as a string) from the provided Url using the POST HTTP command.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public HttpClientDISPATCHASYNC_ERROR PostAsync(
	string aUrl,
	byte[] aContent,
	HTTPClientStringCallbackEx OnTransferResponse,
	Object paramUserObject
)

Parameters

aUrl  String
URL as string
aContent  Byte
Byte array of content to POST
OnTransferResponse  HTTPClientStringCallbackEx
HTTPClientResponseCallback
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