Phoenix.Endpoint.socket/2

Parsed documentation:
View on GitHub
Defines a mount-point for a Socket module to handle channel definitions.

## Examples

    socket "/ws", MyApp.UserSocket
    socket "/ws/admin", MyApp.AdminUserSocket

By default, the given path is a websocket upgrade endpoint,
with long-polling fallback. The transports can be configured
within the Socket handler. See `Phoenix.Socket` for more information
on defining socket handlers.
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.