enum Gio::SocketClientEvent

Overview

Describes an event occurring on a #GSocketClient. See the #GSocketClient::event signal for more details.

Additional values may be added to this type in the future.

Defined in:

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

Enum Members

Resolving = 0_u32

The client is doing a DNS lookup.

Resolved = 1_u32

The client has completed a DNS lookup.

Connecting = 2_u32

The client is connecting to a remote host (either a proxy or the destination server).

Connected = 3_u32

The client has connected to a remote host.

ProxyNegotiating = 4_u32

The client is negotiating with a proxy to connect to the destination server.

ProxyNegotiated = 5_u32

The client has negotiated with the proxy server.

TlsHandshaking = 6_u32

The client is performing a TLS handshake.

TlsHandshaked = 7_u32

The client has performed a TLS handshake.

Complete = 8_u32

The client is done with a particular #GSocketConnectable.

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.


Instance Method Detail

def complete? #

def connected? #

def connecting? #

def proxy_negotiated? #

def proxy_negotiating? #

def resolved? #

def resolving? #

def tls_handshaked? #

def tls_handshaking? #