Table of Contents

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

apiHost string

The 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

host string

The 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

password string

The 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

port int

The 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

username string

The 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

virtualHost string

The 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

useApiSsl bool

The 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

useMessagingSsl bool

The value specifying whether SSL should be used to communicate with the messaging server

Returns

ICustomConfigurationBuilder

The ICustomConfigurationBuilder instance used to set custom config values