lib/client.js
function Client(server, conn){
  this.server = server;
  this.conn = conn;
  this.encoder = server.encoder;
  this.decoder = new server.parser.Decoder();
  this.id = conn.id;
  this.request = conn.request;
  this.setup();
  this.sockets = {};
  this.nsps = {};
  this.connectBuffer = [];
}
function Client(server, conn){
  this.server = server;
  this.conn = conn;
  this.encoder = server.encoder;
  this.decoder = new server.parser.Decoder();
  this.id = conn.id;
  this.request = conn.request;
  this.setup();
  this.sockets = {};
  this.nsps = {};
  this.connectBuffer = [];
}
function Client ( server , conn ) { this . server = server ; this . conn = conn ; this . encoder = server . encoder ; this . decoder = new server . parser . Decoder ( ) ; this . id = conn . id ; this . request = conn . request ; this . setup ( ) ; this . sockets = { } ; this . nsps = { } ; this . connectBuffer = [ ] ; }
Client constructor.

@param {Server} server instance
@param {Socket} conn
@api private
Client constructor .