Client constructor

Client(
  1. ServerIO server,
  2. Socket conn
)

Client constructor.

server server instance Socket connection

Implementation

Client(this.server, this.conn)
    : id = conn.id,
      request = conn.connect.request {
  setup();
}