Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5003

Websocket Connection in Browsers with nodejs code

    XMLWordPrintableJSON

    Details

    • Patch Info:
      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

            Activity

              People

              • Assignee:
                alabama Eugen Kandakov
                Reporter:
                alabama Eugen Kandakov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m