class Broadchat::Connection

Defined in:

broadchat/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(address : String, port : Int32) #

[View source]

Instance Method Detail

def close #

Wraps all close calls for any connection which needs to close


[View source]
def listen #

Starts the command-line interface, falling into a loop which prints new broadcasted messages and sends new inputs


[View source]
def setup #

Wraps all unsafe configuration needed


[View source]