handleUpgrade method

void handleUpgrade(
  1. SocketConnect connect
)

Handles an Engine.IO HTTP Upgrade.

@api public

Implementation

void handleUpgrade(SocketConnect connect) {
//  this.prepare(req);

  verify(connect, true, (err, success) {
    if (!success) {
      abortConnection(connect, err);
      return;
    }

    onWebSocket(connect);
  });
}