Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
-
Webpack 4.41.2
Thrift 0.13.0
NodeJS thrift lib required in browser env
-
Patch Available
Description
After some changes to the ws_connection.js file in the nodejs code, I could create a version of the WSConnection, createWSConnection and createWSClient which is able to run similar code of WebSocket connections in the browser and NodeJS
Solution is package, `isomorphic-ws` which provides the proper Websocket libs depending on the env (browser or node)
Testable Repo with thrift branch from PR: https://github.com/alabama/thrift-testing
Attachments
Issue Links
- links to