Class BasicConfig

java.lang.Object
co.featbit.server.exterior.BasicConfig

public final class BasicConfig extends Object
the basic configuration of SDK that will be used for all components
  • Constructor Details

    • BasicConfig

      public BasicConfig(String envSecret, boolean offline, String streamingURL, String eventURL)
      constructs an instance
      Parameters:
      envSecret - the env secret of your env
      offline - true if the SDK was configured to be completely offline
  • Method Details

    • getEnvSecret

      public String getEnvSecret()
      return the env secret
      Returns:
      a string
    • isOffline

      public boolean isOffline()
      Returns true if the client was configured to be completely offline.
      Returns:
      true if offline
    • getStreamingURI

      public String getStreamingURI()
      return the default streaming url
      Returns:
      a string
    • getEventURI

      public String getEventURI()
      return the default event url
      Returns:
      a string