StreamPeerSSL.connectToStream

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".

struct StreamPeerSSL
@nogc nothrow
GodotError
connectToStream
(
StringArg2
)
(,
in bool validate_certs = false
,
in StringArg2 for_hostname = ""
)

Meta