class SampleAction

Defined in:

sample_server.cr

Instance Method Summary

Instance methods inherited from class EncryptedTcp::ActionHandler

check_ping(data, socket, encryptor) check_ping, handle(input) : String handle, locked_puts(socket, data) locked_puts, pong_response(socket : TCPSocket, encryptor) pong_response, process(socket : Socket, encryptor : EncryptedTcp::Encryptor, data : String) process

Constructor methods inherited from class EncryptedTcp::ActionHandler

new new

Instance Method Detail

def handle(input) : String #
Description copied from class EncryptedTcp::ActionHandler

Handle is the single logic point of an action The input is the unencryped data request and the output will be the unencrypted response back to the client


[View source]