Function StreamPeerSSL.acceptStream
Accepts a peer connection as a server using the given private_key and providing the given certificate to the client. You can pass the optional chain parameter to provide additional CA chain information along with the certificate.
godot .core .defs .GodotError acceptStream
(
StreamPeer stream,
CryptoKey private_key,
X509Certificate certificate,
X509Certificate chain = X509Certificate(godot_object(null), )
) nothrow @nogc;