TlsServerConnection#
Added in version 2.28.
- class TlsServerConnection(*args, **kwargs)#
GTlsServerConnection
is the server-side subclass of
TlsConnection
, representing a server-side TLS connection.
Methods#
- class TlsServerConnection
- classmethod new(certificate: TlsCertificate | None = None) TlsServerConnection #
Creates a new
GTlsServerConnection
wrappingbase_io_stream
(which must have pollable input and output streams).See the documentation for
TlsConnection
:base-io-stream for restrictions on when application code can run operations on thebase_io_stream
after this function has returned.Added in version 2.28.
- Parameters:
certificate – the default server certificate, or
None
Properties#
- class TlsServerConnection
- props.authentication_mode: TlsAuthenticationMode#
The type of the None singleton.
Added in version 2.28.