Configuration class
General SDK configuration.
public static class Configuration
Public Members
name | description |
---|---|
static AdminApiVersion { get; } | Admin API version used by the SDK. |
static ApiVersion { get; } | API version used by the SDK. |
static CacheEnabled { get; set; } | Wether the internal client cache is enabled or not. |
static Endpoints { get; } | Maps of known API endpoints. Used internally bu the SDK. |
static HttpMessageHandler { get; set; } | The http message handler to be used when performing HTTPS requests. Defaults to .NET built-in. |
static RequestSettings { get; set; } | Default request settings. If the requestSettings paramenter is not passed when performing a request, then these settings will be used. Be aware that using these settings is not thread-safe. See SDK tutorial for more info. |
static AdminServiceBaseAddress() | Returns the base address of the administration webservice, based on ExecutionMode . |
static GetApiKey() | Gets the API Key. Also see SetApiKey . |
static GetApplicationId() | Gets the Application Id. Also see SetApplicationId . |
static GetMode() | Gets the current execution mode. Also see SetMode . |
static SetApiKey(…) | Sets the API Key. Also see GetApiKey . |
static SetApplicationId(…) | Sets the Application Id. Also see GetApplicationId . |
static SetMode(…) | Sets the current execution mode. Also see GetMode . |
See Also
- namespace Amica