module Gio::DtlsServerConnection
Overview
#GDtlsServerConnection is the server-side subclass of #GDtlsConnection, representing a server-side DTLS connection.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/dtls_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_socket : Gio::DatagramBased, certificate : Gio::TlsCertificate | Nil) : Gio::DtlsServerConnection
- #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_socket : Gio::DatagramBased, certificate : Gio::TlsCertificate | Nil) : Gio::DtlsServerConnection
#