View Source Storex.Plug (storex v0.5.1)
Add Storex to your Plug application, to handle WebSocket connections.
Example for Phoenix Endpoint:
defmodule YourAppWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :your_app
plug Storex.Plug
# ...
endOptions
:path- The path to mount the Storex handler. Default is"/storex".