newConnection(requestContext) {
    if (!requestContext.connection.id || !requestContext.connection.protocol) {
      global.kuzzle.log.error(
        kerror.get(
          "protocol",
          "runtime",
          "invalid_connection",
          JSON.stringify(requestContext),
        ),
      );
    } else {
      this.connections.set(requestContext.connection.id, requestContext);
      global.kuzzle.statistics.newConnection(requestContext);
    }
  }
Declares a new connection attached to a network protocol.

@param {RequestContext} requestContext