module JSONSocket::Server

Defined in:

json-socket.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String = "localhost", port : Int32 = 1234, delimeter : String = "#", unix_socket = nil) #

[View source]

Instance Method Detail

def handle_socket(socket) #

[View source]
def listen #

[View source]
def on_error(ex : Exception) #

[View source]
def on_message(message, socket) #

[View source]
def send_end_message(message, socket) #

[View source]
def stop #

[View source]