class Session

Direct Known Subclasses

Defined in:

devmail/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : TCPSocket) #

[View source]

Instance Method Detail

def greet #

Send a greeting to client


[View source]
def process_command(command : String, full_data : String) #

[View source]
def respond(text : String) #

Respond to client by sending back text


[View source]