View Source Wobserver.Web.PhoenixSocket (Wobserver NG v1.14.0)
Drop-in Phoenix Socket for easier integration in to Phoenix endpoints
Example:
defmodule MyPhoenixServer.Endpoint do
socket "/wobserver", Wobserver.Web.PhoenixSocket # The path should be the same as the router path
...
end