Skip to content

Commit ad51988

Browse files
committed
Merge branch 'develop' of https://github.com/elasticsearch/elasticsearch-net into develop
2 parents 6a9603a + 66850b8 commit ad51988

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Nest/ElasticClient.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)