Class SdkConfigurationDynamic
- Namespace
- Sportradar.LiveData.Sdk.Services.SdkConfiguration.Sections
- Assembly
- Sportradar.LiveData.Sdk.dll
public class SdkConfigurationDynamic : ConfigurationElement
- Inheritance
-
SdkConfigurationDynamic
- Inherited Members
Constructors
SdkConfigurationDynamic()
protected SdkConfigurationDynamic()
Properties
BookmakerId
Bookmaker id
[ConfigurationProperty("BookmakerId", IsRequired = false, DefaultValue = null)]
[CallbackValidator(Type = typeof(PropertyValidators), CallbackMethodName = "ValidateNullableInt")]
public int? BookmakerId { get; protected set; }
Property Value
- int?
Remarks
This one will override the common settings.
HttpResponseTimeout
Time to wait for the HTTP request to complete.
[ConfigurationProperty("HttpResponseTimeout", IsRequired = false, DefaultValue = "00:00:30")]
[PositiveTimeSpanValidator]
public TimeSpan HttpResponseTimeout { get; protected set; }
Property Value
HttpUrl
HTTP URL can have {ID}, {NS} and {VER} placeholders, else id=.., ver=.. and ns=.. query parameters are appended to the URL Example: "http://localhost:8080/abc"
[ConfigurationProperty("HttpUrl", IsRequired = false, DefaultValue = null)]
[DynamicConfigItem]
public string HttpUrl { get; protected set; }
Property Value
Remarks
ID means bookmaker ID, either common or local setting NS means namespace (usually: Sportradar.SDK, so config server can store configuration for multiple types of clients) VER means SDK (assembly) version
IsInitialized
Is section initialized?
public bool IsInitialized { get; }
Property Value
MaxFetchInterval
Max fetch interval
[ConfigurationProperty("MaxFetchInterval", IsRequired = false, DefaultValue = "01:00:00")]
[DynamicConfigItem]
public TimeSpan MaxFetchInterval { get; protected set; }
Property Value
MinFetchInterval
Min fetch interval
[ConfigurationProperty("MinFetchInterval", IsRequired = false, DefaultValue = "01:00:00")]
[DynamicConfigItem]
public TimeSpan MinFetchInterval { get; protected set; }
Property Value
SSLThumbprint
Optional SSL server certificate thumbprint
[ConfigurationProperty("SSLThumbprint", IsRequired = false, DefaultValue = null)]
[DynamicConfigItem]
public string SSLThumbprint { get; protected set; }
Property Value
Methods
IsReadOnly()
Override of ConfigurationElement.IsReadOnly, always returns false.
public override bool IsReadOnly()
Returns
- bool
false