SSL stream peer.
SSL stream peer. This object can be used to connect to an SSL server or accept a single SSL client connection.
https://docs.godotengine.org/en/latest/tutorials/networking/ssl_certificates.html
Accepts a peer connection as a server using the given [code]private_key[/code] and providing the given [code]certificate[/code] to the client. You can pass the optional [code]chain[/code] parameter to provide additional CA chain information along with the certificate.
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.