Interface ICustomConfigurationBuilder
- Namespace
- Sportradar.OddsFeed.SDK.Api.Config
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract implemented by classes used to set general and custom configuration properties
public interface ICustomConfigurationBuilder : IRecoveryConfigurationBuilder<ICustomConfigurationBuilder>, IConfigurationBuilderBase<ICustomConfigurationBuilder>
- Inherited Members
Methods
SetApiHost(string)
Set the host name of the Sports API server
ICustomConfigurationBuilder SetApiHost(string apiHost)
Parameters
apiHoststringThe host name of the Sports API server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
SetMessagingHost(string)
Sets the host name of the AMQP server
ICustomConfigurationBuilder SetMessagingHost(string host)
Parameters
hoststringThe host name of the AMQP server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
SetMessagingPassword(string)
Sets the password used to authenticate with the messaging server
ICustomConfigurationBuilder SetMessagingPassword(string password)
Parameters
passwordstringThe password used to authenticate with the messaging server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
SetMessagingPort(int)
Sets the port used to connect to the AMQP server
ICustomConfigurationBuilder SetMessagingPort(int port)
Parameters
portintThe port used to connect to the AMQP server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
SetMessagingUsername(string)
Sets the username used to authenticate with the messaging server
ICustomConfigurationBuilder SetMessagingUsername(string username)
Parameters
usernamestringThe username used to authenticate with the messaging server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
SetVirtualHost(string)
Sets the virtual host name of the AMQP server
ICustomConfigurationBuilder SetVirtualHost(string virtualHost)
Parameters
virtualHoststringThe virtual host name of the AMQP server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
UseApiSsl(bool)
Sets the value specifying whether SSL should be used to communicate with Sports API
ICustomConfigurationBuilder UseApiSsl(bool useApiSsl)
Parameters
useApiSslboolThe value specifying whether SSL should be used to communicate with Sports API
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values
UseMessagingSsl(bool)
Sets the value specifying whether SSL should be used to communicate with the messaging server
ICustomConfigurationBuilder UseMessagingSsl(bool useMessagingSsl)
Parameters
useMessagingSslboolThe value specifying whether SSL should be used to communicate with the messaging server
Returns
- ICustomConfigurationBuilder
The ICustomConfigurationBuilder instance used to set custom config values