SSL Stream peer.
SSL Stream peer. This object can be used to connect to SSL servers.
Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [StreamPeerSSL] will validate that the certificate presented by the peer matches the "for_hostname".
Disconnect from host.
Return the status of the connection, one of STATUS_* enum.
A status representing a [StreamPeerSSL] that is disconnected.
A status representing a [StreamPeerSSL] that is connected to a host.
An errot status that shows the peer did not present a SSL certificate and validation was requested.
An error status that shows a mismatch in the SSL certificate domain presented by the host and the domain requested for validation.