enum TorControl::ORConn::Status

Defined in:

tor_control.cr

Enum Members

New = 0

for incoming connections

Launched = 1

for outgoing connections

Connected = 2

TLS handshake has finished

Failed = 3

for connections that haven't finished their handshake

Closed = 4

for connections that have handshaked

Instance Method Summary

Instance Method Detail

def closed? #

Returns true if this enum value equals Closed


def connected? #

Returns true if this enum value equals Connected


def failed? #

Returns true if this enum value equals Failed


def launched? #

Returns true if this enum value equals Launched


def new? #

Returns true if this enum value equals New