:right-sidebar: True TlsServerConnection =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.28 .. class:: TlsServerConnection(*args, **kwargs) :no-contents-entry: ``GTlsServerConnection`` is the server-side subclass of :obj:`~gi.repository.Gio.TlsConnection`\, representing a server-side TLS connection. Methods ------- .. rst-class:: interim-class .. class:: TlsServerConnection :no-index: .. classmethod:: new(certificate: ~gi.repository.Gio.TlsCertificate | None = None) -> ~gi.repository.Gio.TlsServerConnection Creates a new ``GTlsServerConnection`` wrapping ``base_io_stream`` (which must have pollable input and output streams). See the documentation for :obj:`~gi.repository.Gio.TlsConnection`\:base-io-stream for restrictions on when application code can run operations on the ``base_io_stream`` after this function has returned. .. versionadded:: 2.28 :param certificate: the default server certificate, or :const:`None` Properties ---------- .. rst-class:: interim-class .. class:: TlsServerConnection :no-index: .. attribute:: props.authentication_mode :type: ~gi.repository.Gio.TlsAuthenticationMode The type of the None singleton. .. versionadded:: 2.28