Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
18da502
feat(connection): read what happened to a connection from the type
Platonenkov Sep 13, 2026
67675d3
fix(connection): a failure the client will retry names no stop reason
Platonenkov Sep 13, 2026
4403c10
fix(connection): a spent reconnect sequence stops speaking for the co…
Platonenkov Sep 13, 2026
51164f4
fix(connection): the wait and the status stream agree on how the conn…
Platonenkov Sep 13, 2026
1ad7837
fix(connection): one record of how the connection ended, read by ever…
Platonenkov Sep 13, 2026
7305fea
fix(connection): delete a stop reason nothing can produce
Platonenkov Sep 13, 2026
1d71179
feat(samples): a runnable sample of every way a connection can end
Platonenkov Sep 13, 2026
7ddb843
docs(samples): how to run and read the connection lifecycle sample
Platonenkov Sep 13, 2026
c6a6e83
fix(samples): the supersession scenario shows supersession, and a clo…
Platonenkov Sep 13, 2026
0f679c5
fix(solution): one TestsClients folder, one parent for the sample
Platonenkov Sep 13, 2026
05eb11c
docs(changelog): stamp the release heading for 11.5.0.0
Platonenkov Sep 13, 2026
bae0252
fix(connection): a client that has given up does not call itself conn…
Platonenkov Sep 13, 2026
c727787
fix(connection): Connect() does not report success off a socket on it…
Platonenkov Sep 13, 2026
29ddb77
fix(connection): the ownership guard reaches the announcements that l…
Platonenkov Sep 13, 2026
78649d6
refactor(connection): a status announcement cannot omit its generation
Platonenkov Sep 13, 2026
d0c4376
docs(spec): correct the ownership description superseded by section 17
Platonenkov Sep 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGES.md

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions Tests/TestsClients/Blazor-WebAssembly/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,15 @@
CurrentConnectionState = statusInfo.ConnectionState;
IsConnected = statusInfo.ConnectionState == XrpConnectionState.Connected;

AddStatusMessage($"[{statusInfo.ConnectionState}] {statusInfo.Message}", type);
Console.WriteLine($"Connection Status: [{statusInfo.ConnectionState}] {statusInfo.Message}");
// The reason is shown only where it means something: on a notification that is not
// an ending it is None, and printing that on every line would bury the one place
// where "still trying" and "gave up" finally differ by more than their wording.
string stopped = statusInfo.StopReason == ConnectionStopReason.None
? string.Empty
: $" [stopped: {statusInfo.StopReason}]";

AddStatusMessage($"[{statusInfo.ConnectionState}]{stopped} {statusInfo.Message}", type);
Console.WriteLine($"Connection Status: [{statusInfo.ConnectionState}]{stopped} {statusInfo.Message}");
StateHasChanged();
});
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<RootNamespace>Xrpl.Samples.ConnectionLifecycle</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\Xrpl\Xrpl.csproj" />
</ItemGroup>

</Project>
Loading
Loading