Skip to content

Conversation

@idoros
Copy link
Contributor

@idoros idoros commented Jan 1, 2026

Adds support for a stable client ID in WsNodeHost.
This allows the server to identify and track a client across reconnects and disconnect previous connection immediately.

WsClientHost does not automatically generate or attach a client ID. Instead, the client initializing the host is responsible for providing one:

new WsClientHost({
    auth: {
        clientId: '<stableClientId>',
    },
});

@idoros idoros self-assigned this Jan 1, 2026
@idoros idoros requested a review from PeterShershov January 1, 2026 08:54
@idoros idoros merged commit 9db082e into main Jan 1, 2026
6 checks passed
@idoros idoros deleted the ido/support-single-stable-id branch January 1, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants