Mango Ecommerce Demo Site in Phoenix Have you tried just using a function?

WebSockex 0.2.0

WebSockex 0.2.0 Released!

This release has some major API changes where callbacks are changed or removed without deprecation.

The affected callbacks are:

  • init/2 - Removed in favor of handle_connect/2.
  • handle_disconnect/2 - The first argument is now a map.
  • handle_connect_failure/2 - Removed with functionality rolled into handle_disconnect/2.

Checkout the v0.2.0 Changelog or the v0.1.3..v0.2.0 diff for more info.