I built a basic Elixir example utilizing gun websocket client. Gun is super useful but under documented. This code may actually be the best documentation for using it in Elixir as I didn’t really find much to go off of.
You can probably just fork it and start using it with very little effort as I tried to make it generic.