Package co.featbit.server.exterior
Class BasicConfig
java.lang.Object
co.featbit.server.exterior.BasicConfig
the basic configuration of SDK that will be used for all components
-
Constructor Summary
ConstructorsConstructorDescriptionBasicConfig(String envSecret, boolean offline, String streamingURL, String eventURL) constructs an instance -
Method Summary
Modifier and TypeMethodDescriptionreturn the env secretreturn the default event urlreturn the default streaming urlbooleanReturns true if the client was configured to be completely offline.
-
Constructor Details
-
BasicConfig
constructs an instance- Parameters:
envSecret- the env secret of your envoffline- true if the SDK was configured to be completely offline
-
-
Method Details
-
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
return the default streaming url- Returns:
- a string
-
getEventURI
return the default event url- Returns:
- a string
-