code: public ApiResponse<Void> connectWithHttpInfo() throws ApiException {
          com.squareup.okhttp.Call call = connectValidateBeforeCall(null, null);
          return apiClient.execute(call);
      }
docs: CometD connect
  CometD connect, see https://docs.cometd.org/current/reference/#_bayeux_meta_connect
  @return ApiResponse&lt;Void&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body