Reputation: 15996
I'd like to try to start using Erlang, and there's a data feed i'd like to read that's distributed via Websockets. Right now i'm doing the same in node.js using the 'websocket-client
' module, but could someone suggest a websocket client library for Erlang that I could look at? (Or an alternative solution if I'm off the mark)
Upvotes: 9
Views: 3812
Reputation: 3957
ninenines/gun seems to be the most up-to-date according to the GitHub repository page.
Here is the documentation guide on how to use it with WebSockets: https://ninenines.eu/docs/en/gun/2.0/guide/websocket/
Upvotes: 0
Reputation: 3235
here you are: https://github.com/MiCHiLU/erlang_websocket
you may consider also gun: https://github.com/extend/gun
Upvotes: 3
Reputation: 350
Here is a promising one: https://github.com/jeremyong/websocket_client
This one didn't exist at the time the question was asked, but it's a good question that deserves to be updated.
Upvotes: 3