SSL stream peer.
SSL stream peer. This object can be used to connect to SSL servers.
https://docs.godotengine.org/en/latest/tutorials/networking/ssl_certificates.html
Connects to a peer using an underlying [StreamPeer] [code]stream[/code]. If [code]validate_certs[/code] is [code]true[/code], [StreamPeerSSL] will validate that the certificate presented by the peer matches the [code]for_hostname[/code].
Disconnects from host.
Returns the status of the connection. See [enum Status] for values.
Poll the connection to check for incoming bytes. Call this right before [method StreamPeer.get_available_bytes] for it to work properly.
A status representing a [StreamPeerSSL] that is disconnected.
A status representing a [StreamPeerSSL] that is connected to a host.
An error status that shows a mismatch in the SSL certificate domain presented by the host and the domain requested for validation.