Phoenix.Socket.Transport.connect/6

Parsed documentation:
View on GitHub
Handles the socket connection.

It builds a new `Phoenix.Socket`, invokes the handler
`connect/2` callback and returns the result.

If the connection was successful, generates `Phoenix.PubSub`
topic from the `id/1` callback.
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.