public Client(IClientConfig config, Version octgnVersion) { _config = config; _clientAuthenticator = new ClientAuthenticator(); _client = new Octgn.Communication.Client(_config.CreateConnection(_config.ChatHost), new Octgn.Communication.Serializers.XmlSerializer(), _clientAuthenticator); _client.InitializeSubscriptionModule(); _client.InitializeHosting(octgnVersion); }
protected override IConnection CreateConnection() => _config.CreateConnection(_config.ChatHost);