module Gio::DtlsServerConnection

Overview

GDtlsServerConnection is the server-side subclass of Gio::DtlsConnection, representing a server-side DTLS connection.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/dtls_server_connection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

def self.g_type : UInt64 #

Instance Method Detail

def authentication_mode : Gio::TlsAuthenticationMode #

def authentication_mode=(value : Gio::TlsAuthenticationMode) : Gio::TlsAuthenticationMode #

def new(base_socket : Gio::DatagramBased, certificate : Gio::TlsCertificate | Nil) : Gio::DtlsServerConnection #

abstract def to_unsafe #