Click or drag to resize

HttpClientPostAsync(String, Stream, HTTPClientResponseCallback) 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,
	Stream aContent,
	HTTPClientResponseCallback OnTransferResponse
)

Parameters

aUrl  String
URL as string
aContent  Stream
Content Stream
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