phoenix_gen_socket_client icon indicating copy to clipboard operation
phoenix_gen_socket_client copied to clipboard

Socket client behaviour for phoenix channels

Results 6 phoenix_gen_socket_client issues
Sort by recently updated
recently updated
newest added

Task: - Add later OTP version to CI - Fix corresponding dialyzer errors

`phoenix_gen_socket_client` is relatively stable but it seems like one barrier to entry for newcomers might be the lack of accessible tutorials. I was thinking of making one or two Build-an-x(e.g....

documentation

I am happy to help extend/fix this problem if someone can point me in the right direction. Perhaps I misunderstand the implementation, but I am bumping into a problem attempting...

``` >mix deps.get warning: use Mix.Config is deprecated. Use the Config module instead config/config.exs:6 warning: use Mix.Config is deprecated. Use the Config module instead config/dev.exs:1 Resolving Hex dependencies... Dependency resolution...

Based on the example, the only place you can send messages to a channel is from inside the behaviour. Can I send messages from outside the behaviour? For example, connecting...

WebSocket timeout and phoenix_gen_socket_client are not reconnecting to the WebSocket server. I added a timeout behavior to my server WebSocket in `endpoint.ex`: `socket "/socket", MyWeb.UserSocket, websocket: [timeout: 30_000], longpoll: false`...