Can/has this been compiled to WASM to handle frame reading/writing? #1166
Answered
by
uNetworkingAB
guest271314
asked this question in
Q&A
-
Can/has this been compiled to WASM to handle frame reading/writing? |
Beta Was this translation helpful? Give feedback.
Answered by
uNetworkingAB
Apr 27, 2025
Replies: 2 comments 15 replies
-
Very strange question but yes you can compile WebSocketProtocol.h into WASM if you feel like it. It has no benefit. |
Beta Was this translation helpful? Give feedback.
15 replies
-
@uNetworkingAB I found some code originally written for Node.js that I could work with and modified that code to a JavaScript runtime agnostic WebSocket server https://gist.github.com/guest271314/d330c7cea513f12ef7bf523c56431453. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/uNetworking/uWebSockets/blame/master/src/WebSocketProtocol.h