module Gio::TlsServerConnection

Overview

GTlsServerConnection is the server-side subclass of Gio::TlsConnection, representing a server-side TLS connection.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/tls_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_io_stream : Gio::IOStream, certificate : Gio::TlsCertificate | Nil) : Gio::TlsServerConnection #

abstract def to_unsafe #