Skip to content

Commit 2d848b4

Browse files
authored
Update to latest Transport in examples that has all the renames (#64)
1 parent bca9cbe commit 2d848b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: examples/Elastic.Ephemeral.Example/Elastic.Ephemeral.Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Elastic.Transport" Version="0.4.12" />
16+
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
1717
</ItemGroup>
1818

1919
</Project>

Diff for: examples/Elastic.Ephemeral.Example/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if (cluster.DetectedProxy != DetectedProxySoftware.None)
3030
transportConfig = transportConfig.Proxy(new Uri("http://localhost:8080"), null!, null!);
3131

32-
var transport = new DefaultHttpTransport(transportConfig);
32+
var transport = new DistributedTransport(transportConfig);
3333

3434
var response = await transport.RequestAsync<StringResponse>(HttpMethod.GET, "/");
3535
Console.WriteLine(response);

0 commit comments

Comments
 (0)