Click or drag to resize

HttpClientGet(String, Encoding) Method

Retrieves an HTTP document (as a string) 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 string Get(
	string aUrl,
	Encoding aEncoding
)

Parameters

aUrl  String
URL as String
aEncoding  Encoding
An Encoding value.

Return Value

String
HTTP document as string

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also