#GTlsServerConnection, or null on error
TlsServerConnection.new_
gio.tls_server_connection.TlsServerConnection new_(gio.iostream.IOStream baseIoStream, gio.tls_certificate.TlsCertificate certificate = null)Creates a new #GTlsServerConnection wrapping base_io_stream (which must have pollable input and output streams).
See the documentation for #GTlsConnection:base-io-stream for restrictions on when application code can run operations on the base_io_stream after this function has returned.
Parameters
baseIoStream | the #GIOStream to wrap |
certificate | the default server certificate, or null |
Returns
the new
Throws
[ErrorWrap]