Description
Work-around is to use MUX IO:
//first add the appropriate using statements to the class header:
|
using Couchbase.IO;
|
using Couchbase.IO.Services;
|
|
....
|
|
// later create a client configuration and pass into the ClusterHelper.Initialize or the Cluster ctor:
|
var config = new ClientConfiguration
|
{
|
Servers = new List<Uri> {new Uri("http://localhost:8091/")},
|
};
|
config.ConnectionPoolCreator = ConnectionPoolFactory.GetFactory<ConnectionPool<MultiplexingConnection>>();
|
config.IOServiceCreator = IOServiceFactory.GetFactory<MultiplexingIOService>();
|
ClusterHelper.Initialize(config);
|