module Gio::TlsServerConnection
Overview
#GTlsServerConnection is the server-side subclass of #GTlsConnection, representing a server-side TLS connection.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/tls_server_connection.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class Method Summary
Instance Method Summary
- #authentication_mode : Gio::TlsAuthenticationMode
- #authentication_mode=(value : Gio::TlsAuthenticationMode) : Gio::TlsAuthenticationMode
- #new(base_io_stream : Gio::IOStream, certificate : Gio::TlsCertificate | Nil) : Gio::TlsServerConnection
- #to_unsafe
Constructor Detail
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.
Class Method Detail
Instance Method Detail
def new(base_io_stream : Gio::IOStream, certificate : Gio::TlsCertificate | Nil) : Gio::TlsServerConnection
#