class Murcure::Server::Tcp

Overview

This class represents TCP part of server. Creates UDP SSL socket and workers pool. After accepting new client connection passes it to Actors::Worker through Pool.

Defined in:

murcure/server/tcp.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : UInt32, ssl_context : OpenSSL::SSL::Context::Server, state : State = State.new) #

[View source]

Instance Method Detail

def handle_new_client(client_socket : TCPSocket) #

[View source]
def start! #

[View source]