package com.groupbyinc.api;

/**
 * @internal
 */
public class Bridge extends AbstractBridge {

  public Bridge(String clientKey, String bridgeHost, int bridgePort) {
    this(clientKey, bridgeHost, bridgePort, false);
  }

  public Bridge(String clientKey, String bridgeHost, int bridgePort, boolean secure) {
    this(clientKey, (secure ? HTTPS : HTTP) + bridgeHost + COLON + bridgePort);
  }

  protected Bridge(String clientKey, String baseUrl) {
    super(clientKey, baseUrl);
  }
}

@@ -22,16 +22,75 @@
 c.api;%0A%0A
+import com.groupbyinc.api.config.ConnectionConfiguration;%0A%0A
 /**%0A * @
@@ -359,24 +359,239 @@
 n secure) %7B%0A
+    this(clientKey, bridgeHost, bridgePort, secure, new ConnectionConfiguration());%0A  %7D%0A%0A  public Bridge(String clientKey, String bridgeHost, int bridgePort, boolean secure, ConnectionConfiguration configuration) %7B%0A
     this(cli
@@ -655,16 +655,31 @@
 idgePort
+, configuration
 );%0A  %7D%0A%0A
@@ -729,16 +729,55 @@
  baseUrl
+, ConnectionConfiguration configuration
 ) %7B%0A    
@@ -800,16 +800,31 @@
  baseUrl
+, configuration
 );%0A  %7D%0A%7D

update bridge