enum XMPP::ConnectionState

Overview

ConnectionState represents the current connection state. This is a list of events happening on the connection that the client can be notified about.

Defined in:

xmpp/event_manager.cr

Enum Members

Disconnected = 0
Connected = 1
SessionEstablished = 2
StreamError = 3

Instance Method Summary

Instance Method Detail

def connected? #

[View source]
def disconnected? #

[View source]
def session_established? #

[View source]
def stream_error? #

[View source]