diff --git a/examples/Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj b/examples/Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj index bc13e1f..e612ad6 100644 --- a/examples/Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj +++ b/examples/Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj @@ -13,7 +13,7 @@ - + diff --git a/examples/Elastic.Ephemeral.Example/Program.cs b/examples/Elastic.Ephemeral.Example/Program.cs index efd2487..ffe89e1 100644 --- a/examples/Elastic.Ephemeral.Example/Program.cs +++ b/examples/Elastic.Ephemeral.Example/Program.cs @@ -29,7 +29,7 @@ if (cluster.DetectedProxy != DetectedProxySoftware.None) transportConfig = transportConfig.Proxy(new Uri("http://localhost:8080"), null!, null!); -var transport = new DefaultHttpTransport(transportConfig); +var transport = new DistributedTransport(transportConfig); var response = await transport.RequestAsync(HttpMethod.GET, "/"); Console.WriteLine(response);