- acceptStream
GodotError acceptStream(StreamPeer base)
- connectToStream
GodotError connectToStream(StreamPeer stream, bool validate_certs, StringArg2 for_hostname)
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".
- disconnectFromStream
void disconnectFromStream()
- getStatus
StreamPeerSSL.Status getStatus()
Return the status of the connection, one of STATUS_* enum.
- isBlockingHandshakeEnabled
bool isBlockingHandshakeEnabled()
- opAssign
StreamPeerSSL opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(StreamPeerSSL other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- poll
void poll()
Poll the connection to check for incoming bytes. Call this right before "get_available_bytes()" for it to work properly.
- setBlockingHandshakeEnabled
void setBlockingHandshakeEnabled(bool enabled)
SSL Stream peer.
This object can be used to connect to SSL servers.