Gio.TlsServerConnection¶
- Implementations:
None
Methods¶
class |
|
Virtual Methods¶
None
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
Signals¶
None
Fields¶
None
Class Details¶
- class Gio.TlsServerConnection¶
- Bases:
- Structure:
GTlsServerConnectionis the server-side subclass of [class`Gio`.TlsConnection], representing a server-side TLS connection.New in version 2.28.
- classmethod new(base_io_stream, certificate)[source]¶
- Parameters:
base_io_stream (
Gio.IOStream) – theGio.IOStreamto wrapcertificate (
Gio.TlsCertificateorNone) – the default server certificate, orNone
- Raises:
- Returns:
the new
Gio.TlsServerConnection, orNoneon error- Return type:
Creates a new
Gio.TlsServerConnectionwrapping base_io_stream (which must have pollable input and output streams).See the documentation for
Gio.TlsConnection:base-io-streamfor restrictions on when application code can run operations on the base_io_stream after this function has returned.New in version 2.28.
Property Details¶
- Gio.TlsServerConnection.props.authentication_mode¶
- Name:
authentication-mode- Type:
- Default Value:
- Flags:
The
Gio.TlsAuthenticationModefor the server. This can be changed before callingGio.TlsConnection.handshake() if you want to rehandshake with a different mode from the initial handshake.New in version 2.28.