File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ public partial class ElasticClient : Nest.IElasticClient
4040 public ElasticClient (
4141 IConnectionSettingsValues settings = null ,
4242 IConnection connection = null ,
43- INestSerializer serializer = null )
43+ INestSerializer serializer = null ,
44+ ITransport transport = null )
4445 {
4546 this . _connectionSettings = settings ?? new ConnectionSettings ( ) ;
4647 this . Connection = connection ?? new HttpConnection ( this . _connectionSettings ) ;
@@ -49,7 +50,7 @@ public ElasticClient(
4950 this . Raw = new ElasticsearchClient (
5051 this . _connectionSettings ,
5152 this . Connection ,
52- null , //default transport
53+ transport , //default transport
5354 this . Serializer
5455 ) ;
5556 this . RawDispatch = new RawDispatch ( this . Raw ) ;
You can’t perform that action at this time.
0 commit comments