From 2d848b4a681658f73de58302590f44347b45f8d6 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Fri, 5 Apr 2024 13:14:18 +0200 Subject: [PATCH] Update to latest Transport in examples that has all the renames (#64) --- .../Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj | 2 +- examples/Elastic.Ephemeral.Example/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);