enum Gio::TlsRehandshakeMode

Overview

When to allow rehandshaking. See g_tls_connection_set_rehandshake_mode().

Defined in:

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

Enum Members

Never = 0_u32

Never allow rehandshaking

Safely = 1_u32

Allow safe rehandshaking only

Unsafely = 2_u32

Allow unsafe rehandshaking

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def never? #

[View source]
def safely? #

[View source]
def unsafely? #

[View source]