iacobson
Two Phoenix app on a single websocket
I have created this learning app https://chandothis.herokuapp.com/ that uses only channels instead of controllers and works very nice.
However now I want to connect another application to it, using the same websocket, and practically to use the same channels. Tried different approaches without any success.
The Heroku app ws is wss://chandothis.herokuapp.com/socket/websocket?token=undefined&vsn=1.0.0
Now I’m going to try also with GitHub - meh/elixir-socket: Socket wrapping for Elixir. · GitHub, but I really hoped that this can be done in Elixir without other libraries.
Any ideas/starting point?
Update:
I have added more info about my latest attempts on this stackoverflow question:
http://stackoverflow.com/questions/40564093/phoenix-connect-socket-join-channel-push-receive-messages-from-another-appl
Trending in Questions
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #performance
- #security









