Skip to content

Implement parallel client broadcasting#6

Merged
st0o0 merged 4 commits intomainfrom
feature/more-classes
Feb 7, 2026
Merged

Implement parallel client broadcasting#6
st0o0 merged 4 commits intomainfrom
feature/more-classes

Conversation

@st0o0
Copy link
Copy Markdown
Owner

@st0o0 st0o0 commented Feb 6, 2026

No description provided.

st0o0 added 2 commits February 6, 2026 18:05
Removes the `Create` factory methods from `Connected` and
`Disconnected` classes and uses constructor calls instead.

This simplifies the code and makes it more consistent with
other parts of the codebase.
Updates disconnection reason to "Shutdown" for both client and server initiated disconnections.
This change provides a more consistent and clearer signal for disconnection events.
@st0o0 st0o0 self-assigned this Feb 6, 2026
@st0o0 st0o0 added enhancement New feature or request .NET Pull requests that update .NET code labels Feb 6, 2026
@st0o0 st0o0 changed the title Little refactoring Cancelable Reconnect... Feb 7, 2026
Improves error handling and reporting in ReactiveWebSocketClient and ReactiveWebSocketServer by introducing ErrorOccurred observables and related types.

Provides more granular error information including source and exception details.

Adds extension methods for simplified sending of messages via observables.

Updates the release workflow to have a cleaner release name.
@st0o0 st0o0 changed the title Cancelable Reconnect... Little Refactoring Feb 7, 2026
@st0o0 st0o0 changed the title Little Refactoring Implement parallel client broadcasting Feb 7, 2026
@st0o0 st0o0 force-pushed the feature/more-classes branch 5 times, most recently from 426ca66 to b9adeaa Compare February 7, 2026 17:28
Adds broadcast capabilities to the WebSocket server, allowing sending messages to all connected clients.

Implements `BroadcastInstantAsync`, `BroadcastAsBinaryAsync`, and `BroadcastAsTextAsync` methods, offering asynchronous message delivery.

Includes `TryBroadcastAsBinary` and `TryBroadcastAsText` for non-async broadcasting.

Enhances testing with new broadcast tests, including concurrent broadcasts, disconnection handling, large message handling, and special character support.

Adds code coverage reporting to the build workflow.
@st0o0 st0o0 force-pushed the feature/more-classes branch from b9adeaa to 61bc7e2 Compare February 7, 2026 17:37
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 7, 2026

Code Coverage

Package Line Rate Branch Rate Complexity Health
WebSocket.Rx 81% 65% 472
Summary 81% (750 / 924) 65% (217 / 334) 472

@st0o0 st0o0 merged commit d090b92 into main Feb 7, 2026
5 checks passed
@st0o0 st0o0 deleted the feature/more-classes branch February 7, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant