Skip to content

Commit

Permalink
Update to latest Transport in examples that has all the renames (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Apr 5, 2024
1 parent bca9cbe commit 2d848b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Elastic.Transport" Version="0.4.12" />
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion examples/Elastic.Ephemeral.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<StringResponse>(HttpMethod.GET, "/");
Console.WriteLine(response);
Expand Down

0 comments on commit 2d848b4

Please sign in to comment.