SslClientConnection.connect

Create an SSL connection. Blocks the calling task until the handshake is complete.

class SslClientConnection
void
connect
(
cstring host_name
,
cstring host_port
)

Parameters

host_name cstring

the name of the host

host_port cstring

the port to use (eg "443" for an HTTPS connection)

Throws

IOException if the connection failed

Meta