-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor WebSocket resource class (#14377)
* 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).
- Loading branch information
1 parent
4640656
commit ca717fc
Showing
27 changed files
with
1,240 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
change/@office-iss-react-native-win32-b9e6c7f5-1b5d-47ba-aaf3-c1ee07027b02.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Refactor WebSocket resource class", | ||
"packageName": "@office-iss/react-native-win32", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-392cca54-70c5-47ed-b84e-8405ffa3022f.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Implement WinRTWebSocketResource2 stubs", | ||
"packageName": "react-native-windows", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.