Skip to content

[0.76] Refactor WebSocket resource class#14401

Merged
JunielKatarn merged 4 commits into
microsoft:0.76-stablefrom
jurocha-ms:OC/9077496/wsrefact-76
Mar 10, 2025
Merged

[0.76] Refactor WebSocket resource class#14401
JunielKatarn merged 4 commits into
microsoft:0.76-stablefrom
jurocha-ms:OC/9077496/wsrefact-76

Conversation

@JunielKatarn
Copy link
Copy Markdown
Contributor

@JunielKatarn JunielKatarn commented Mar 7, 2025

Backport of #14377, #14405

Microsoft Reviewers: Open in CodeFlow

JunielKatarn and others added 2 commits March 6, 2025 16:32
* Update Test Website JSON dependencies to .NET 8

* Implement WinRTWebSocketResource2

* Add /rnw/websockets/pong endpoint

* Add /rnw/websockets/echo endpoint

* Add WebSocketMultipleSendTest.js

* Allow arbitrary incoming size in server-side WebSocketTest

* Define runtime option WebSocket.ResourceV2

* Centralize ReceiveStringAsync in shared class WebSocketUtils

* Implement WebSocketMultipleSendTest_ClientReceive

* Prevent high CPU usage caused by WebSockets (test website)

* Allows passing an explicit calling context to execute resource handlers
(i.e. JavaScript queue / main queue).
@JunielKatarn JunielKatarn requested review from a team as code owners March 7, 2025 00:47
JunielKatarn and others added 2 commits March 7, 2025 15:25
@JunielKatarn JunielKatarn enabled auto-merge (squash) March 7, 2025 23:52
@JunielKatarn JunielKatarn merged commit 2f62e3d into microsoft:0.76-stable Mar 10, 2025
@JunielKatarn JunielKatarn deleted the OC/9077496/wsrefact-76 branch August 22, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants