handleRequest method
Implementation
void handleRequest(SocketConnect connect) {
var req = connect.request;
var self = this;
verify(connect, false, (err, success) {
if (!success) {
sendErrorMessage(req, err);
return;
}
if (req.uri.queryParameters['sid'] != null) {
self.clients[req.uri.queryParameters['sid']].transport
.onRequest(connect);
} else {
self.handshake(req.uri.queryParameters['transport'] as String, connect);
}
});
}