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.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxprotected 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
ConnectionA Connection object
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also