Click or drag to resize

HttpClientGetHttpConnection Method

This method is used internally to acquire (either create or retrieve from the pool) an HTTP connection with the provided parameters.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
protected Connection GetHttpConnection(
	bool aSecure,
	string aHost,
	int aPort
)

Parameters

aSecure  Boolean
true to use SSL.
aHost  String
Host as String
aPort  Int32
Port as integer

Return Value

Connection
A Connection object
Exceptions
ExceptionCondition
NotSupportedExceptionSSL (HTTPS) is not supported

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also